-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
Javascript debugger not working #172906
Comments
I'm starting to think this may be system or configuration related. I went all the way back to 1.66.2 (and I've definitely debugged this way last summer), yet the debugger does not attach. |
Tested on a different machine with Windows 10 instead of Ubuntu, here it works. |
What is the result of |
Devcontainer (working):
Ubuntu (not working):
Windows (with git bash, working):
|
What version of Node.js are you using in the "not working" sample? |
16.19.0 The devcontainer is on 18.13.0 and the Windows machine on 12.x or 14.x |
Do you have any capabilities set on your Node binary? You may be hitting nodejs/node#37588 |
that might be it |
That was it! Thanks for the pointers, removing the capabilities fixed it. |
Does this issue occur when all extensions are disabled?: Yes, but this needs the JS debugger
Steps to Reproduce:
node test.js
in Javascript debug consolealternatively add this launch config:
The text was updated successfully, but these errors were encountered: