Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Support a UI picker of all available targets #19

Closed
roblourens opened this issue Jun 1, 2016 · 6 comments
Closed

Support a UI picker of all available targets #19

roblourens opened this issue Jun 1, 2016 · 6 comments

Comments

@roblourens
Copy link
Member

See microsoft/vscode#6569

@roblourens roblourens changed the title Support a UI picker of targets to attach to Support a UI picker of all available targets Jun 1, 2016
@roblourens
Copy link
Member Author

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#

@auchenberg auchenberg modified the milestone: Backlog Dec 6, 2016
@auchenberg
Copy link
Contributor

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.

@auchenberg
Copy link
Contributor

@auchenberg
Copy link
Contributor

@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

@roblourens
Copy link
Member Author

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.

@roblourens
Copy link
Member Author

roblourens commented Apr 20, 2017

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.

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants