Skip to content

Allow debugging a nodejs from a non-"JavaScript Debug Terminal" via jsdbg command #2291

@hediet

Description

@hediet

It would be awesome if some kind of jsdbg would allow me to debug nodejs apps in a standard terminal.

My current flow is:

  1. cd myDir (in a standard terminal)
  2. node myScript.js
  3. -> crashes
  4. Create and switch to a new javascript debug terminal
  5. cd myDir
  6. node myScript.js
  7. Happy debugging with VS Code debugger
  8. Close debug terminal
  9. Continue with normal terminal

I'd be very happy if the flow was this:

  1. cd myDir (in a standard terminal)
  2. node myScript.js
  3. -> crashes
  4. jsdbg node myScript.js
  5. Happy debugging with VS Code debugger
  6. Continue with normal terminal

Metadata

Metadata

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions