microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.07k stars 28.51k forks source link

Javascript debugger is not stopping on breakpoints #221342

Closed riyasharma07 closed 1 month ago

riyasharma07 commented 1 month ago

Does this issue occur when all extensions are disabled?: Yes/No

I guess in this release there is some issue with javascript debugger

Steps to Reproduce:

  1. add breakpoints >> Run project on javaScript debug terminal
  2. debugger is not stopping on breakpoints.
Joyce-Peng-GitHub commented 1 month ago

The same for C++. And I also saw a similar issue for GoLang submitted a few days ago.

sabinkharel-rpalabs commented 1 month ago

Still same issue :(

adar-pascal-lusha commented 1 month ago

same here :(

Joyce-Peng-GitHub commented 1 month ago

The same for C++. And I also saw a similar issue for GoLang submitted a few days ago.

I've found why. When I install gcc and gdb in MSYS 2 this time, I entered pacman -S gcc gdb instead of pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb. After I replaced them with the mingw one, everything went right. Hopefully this info helps u guys.

roblourens commented 1 month ago

/jsDebugLogs

VSCodeTriageBot commented 1 month ago

Please collect trace logs using the following instructions:

If you're able to, add "trace": true to your launch.json and reproduce the issue. The location of the log file on your disk will be written to the Debug Console. Share that with us.

⚠️ This log file will not contain source code, but will contain file paths. You can drop it into https://microsoft.github.io/vscode-pwa-analyzer/index.html to see what it contains. If you'd rather not share the log publicly, you can email it to connor@xbox.com

vs-code-engineering[bot] commented 1 month ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

remorses commented 4 weeks ago

I fixed this issue by

  1. Remove NODE_OPTIONS env variable from shell profile
  2. Uninstall the Bun VSCode extension