-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Cannot debug #235038
Comments
I have re-installed VS Code using VSCodeUserSetup-x64-1.95.3.exe, also renamed the extensions folder so I would have no extensions installed. Then, I installed JavaScript Debugger (Nightly) extension. Still, no break points are being hit. |
Ok now I am hitting the break points but, here is what I had to do and not sure why since I never had to do it before.
|
I have reset settings.json to default but debugging is not still not working. |
Ok, here is something that might help, debugging started to work in VS Code, I uninstalled the node v23.3.0 and installed the current LTS version. Not sure if that fixed the issue. Something you may want to verify. Thanks. |
While encountering the issues on my work machine, I verified that the problem stemmed from Node.js v23.3.0, which caused debugging to stop working in VS Code. To confirm this, I tested debugging on my personal Windows 11 machine using Node.js v23.3.0 and observed the same issue. After uninstalling v23.3.0 and installing the LTS version (v22.12.0), debugging started working as expected. |
nodejs/node#56002 use Node <=23.1 |
I just tried a lot of launch configurations to solve this issue, and finally I found this! Thanks a lot! |
Type: Bug
I am not sure which extension is causing this but when I started VS Code today and when I choose Javascript Debug Terminal, the breakpoints are not hit. I have tried everything to troubleshoot including re-installing VS Code.
VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (95)
(6 theme extensions excluded)
A/B Experiments
<! -- generated by issue reporter -->
The text was updated successfully, but these errors were encountered: