Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Debugger (Node --inspect) metadata access outside of VSCode (ie from Chrome DevTools) #236

Description

@june07

This is being opened per being recommended by roblourens in #235

roblourens Thank you very much for your insightful feedback. Before beginning any work on writing this, I just want to be clear that there is currently no other known way to access Node.exe metadata (ie --inspect) that comes baked into VSCode?

Further in order to achieve such functionality, it has been suggested to use the DebugAdapterTracker API to write a VSCode extension that adds this feature?

I assume that in using that API, it would then be possible to publish said data openly such that no other requirements are needed to access it on the receiving end (ie, a simple http access). Basically, what I've already done will need to be adapted to a VSCode extension vs being built in.

Activity

  1. roblourens commented on May 9, 2019

    @roblourens
    Member

    Yes, correct. Pasting my response here just to make it easier to find later:

    I think that being able to open chrome devtools on the process you are attached to in vscode would be really useful. It would be nice to have an extension that can provide that feature. I don't really think that starting a webserver from the debug adapter is the right way to do it.

    What you can do is use the DebugAdapterTracker API to watch for console messages from a node debug session of the pattern "Debugger listening on ws://127.0.0.1:9876/a92b13de-b2ba-4318-9c3e-3221bbbb218f". Then your extension will know how to open chrome devtools. Please open an issue to discuss if you need anything more from the debug adapter.

  2. roblourens commented on May 9, 2019

    @roblourens
    Member

    Since this can be implemented by an extension, I am going to close this

  3. june07 commented on May 11, 2019

    @june07
    Author
  4. roblourens commented on May 11, 2019

    @roblourens
    Member

    FYI Andre Weinand (@weinand), an application of DebugAdapterTracker

  5. locked and limited conversation to collaborators on Jun 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions