Coder Social home page Coder Social logo

Comments (6)

roblourens avatar roblourens commented on August 18, 2024 1

https://bugs.chromium.org/p/chromium/issues/detail?id=649823# was closed and Chrome will not support dynamically entering debug mode anytime soon :'(. I'll continue to use Microsoft/vscode-chrome-debug#280 to track the chrome-specific task of showing a picker of tabs, and microsoft/vscode#25036 to track the node-specific task of entering debug mode dynamically and showing a list of processes.

from vscode-chrome-debug-core.

roblourens avatar roblourens commented on August 18, 2024

Not that useful without nodejs/node#8464, so I'm going to postpone it. Also see https://bugs.chromium.org/p/chromium/issues/detail?id=649823#

from vscode-chrome-debug-core.

auchenberg avatar auchenberg commented on August 18, 2024

We should implement this feature for existing running processes, so url param can be omitted an UI selector will be prompted instead.

Once Node/Electron/Chrome lands the ability to enable debugging on-the-fly we can expand the usefulness of this feature.

from vscode-chrome-debug-core.

auchenberg avatar auchenberg commented on August 18, 2024

https://github.com/Microsoft/vscode-chrome-debug/issues/280

from vscode-chrome-debug-core.

auchenberg avatar auchenberg commented on August 18, 2024

@roblourens I think this has landed in Node master, as the old V8 protocol has been deprecated. It would be good to get a prototype going.

I imagine a flow like:

  1. List all target processes in a drop down component (node/chrome/edge/etc)
  2. On selection SIGUSR1 is sent to the process
  3. A request to http/json is made
  4. If more than one relevant target is returned, show new drop down with the targets
  5. Selected or first target is used to connect the debugger.

This would made the attach scenario much simpler for Chrome, and enable a good experience for Node

from vscode-chrome-debug-core.

roblourens avatar roblourens commented on August 18, 2024

Cool, I'll check it out. I'll have to check the version of node that's running before displaying it, hopefully that won't lead to a confusing experience.

from vscode-chrome-debug-core.

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.