microsoft / microsoft/vscode-js-debug

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

Open
#2,291 0 comments 1 reaction 2 assignees View on GitHub

@connor4312 is already working on this.

Since Nov 12, 2025.

feature-request
Dominant language
TypeScript
Stars
2k
Forks
373
Avg merge
1d 9m
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.