Code Monkey home page Code Monkey logo

Comments (7)

daduroy avatar daduroy commented on May 14, 2024 1

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.

june07 avatar june07 commented on May 14, 2024

from nim.

daduroy avatar daduroy commented on May 14, 2024

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

  1. 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
  2. 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
  3. the user creates a new tab in chrome with this adress then press enter.
  4. the communication between V8 and CDT is now established and the debug session is started.
  5. 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.

june07 avatar june07 commented on May 14, 2024

So my answer to your original question is a more solid yes in this case.

from nim.

daduroy avatar daduroy commented on May 14, 2024

good news. I haven't tested but I guess NIM wont work without any customization.

from nim.

june07 avatar june07 commented on May 14, 2024

Yes some customization may be needed.

from nim.

daduroy avatar daduroy commented on May 14, 2024

OK. I'm starting to test NIM. If you have any hints that may help dont hesitate

from nim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.