Comments (7)
I've understood how NIM connect to Node or other process, it's sending http request Get JSON on the specified port. Then to be NIM compatible I think I have only to fix the port number, as in node, and implements the JSON http answer.
from nim.
from nim.
Yes of course.
I've used V8Inspector sample (https://github.com/hsharsha/v8inspector) to get the principles of inspector integration.
The current steps are not frozen, if necessary I can modify our code to be compliant with an existing tool like yours.
Here the steps of a simple scenario
- a caller of our V8 integration creates a V8 isolate object and start a debug session ; he's blocked until its V8 session will be connected to CDT
- in the console, our V8 integration wrotes the URL to be opened in chrome ; something like chrome-devtools://devtools/bundled/js_app.html?experiments=true&v8only=true&ws=localhost:52014/00750028-0079-40c5-8059-000300d600b5
- the user creates a new tab in chrome with this adress then press enter.
- the communication between V8 and CDT is now established and the debug session is started.
- with the main debug mode (it exists another mode which not blocks the JS execution) the execution will stop In CDT at the first JS statement
Regards
from nim.
So my answer to your original question is a more solid yes in this case.
from nim.
good news. I haven't tested but I guess NIM wont work without any customization.
from nim.
Yes some customization may be needed.
from nim.
OK. I'm starting to test NIM. If you have any hints that may help dont hesitate
from nim.
Related Issues (20)
- Fix code scanning alert - Incomplete regular expression for hostnames
- Fix code scanning alert - Useless regular-expression character escape
- Dark theme HOT 6
- Setting to have inspector window maximized HOT 3
- Network tab HOT 8
- Latest Chrome update V76 stopped extension opening up new tab / finding local host HOT 23
- Runaway tab/window opening when devtools url is blank. HOT 2
- extension not saves auto/handle tumbler and not saves inspector-settings HOT 9
- Not working in chrome 83 HOT 6
- DevTools does not disconnect after update to version 2.4.0 HOT 2
- Problem to start the extension HOT 7
- Getting error WebSocket disconnected HOT 8
- Why does NiM need an active internet connection in order to operate? HOT 6
- Configuration page is cropped
- Undefined tooltip for runawayTabs
- Feature Request: Focus window only when debugger is paused HOT 7
- can manual port HOT 1
- NiM keyboard shortcut issue HOT 7
- [BUG] DevTools failed to load SourceMap: Could not parse content Unexpected end of JSON input HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nim.