Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging node.js apps leads to unbound breakpoints #948

Closed
matthesinator opened this issue Mar 23, 2021 · 1 comment
Closed

Debugging node.js apps leads to unbound breakpoints #948

matthesinator opened this issue Mar 23, 2021 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s)

Comments

@matthesinator
Copy link

Describe the bug
When trying to debug a node application, breakpoints become unbound. This is independent from the method used, I tried:

  • Attach by Process ID
  • Attach to Port
  • Launch Program
  • Auto Attach

Log File

vscode-debugadapter-940e5a4c.json.gz

VS Code Version: 1.54.3
Node Version: v14.16.0

Additional context
Attach by Process ID gives me a choice between three processes. One of these is node with the --inspect flag. Selecting this, leads to an Error: Could not connect to debug target at http://localhost:0: Promise was canceled

@matthesinator matthesinator added the bug Issue identified by VS Code Team member as probable bug label Mar 23, 2021
@connor4312
Copy link
Member

Check out the "symlinks" FAQ here https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_can-i-debug-if-im-using-symlinks

This month with #776, the debugger will start warning you about these cases automatically.

@connor4312 connor4312 added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants