question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New JavaScript Debugger stuck since VS Code version 1.47

See original GitHub issue

Configuration in launch.json: { "name": "Attach to API Module", "type": "node", "request": "attach", "port": 9230, "restart": true, "sourceMaps": true, "protocol": "inspector", "timeout": 60000, "skipFiles": ["<node_internals>/**/*.js"], "trace": true, }

Starting node: 2020-08-27 11_47_08-

After attaching Debugger it shows: 2020-08-27 11_50_51-GitHub - microsoft_vscode-js-debug_ The VS Code JavaScript debugger

Then the console is stuck completely. No breakpoint stops. Disconnect doesn’t work. The node server itself just works fine. With earlier Versions ( <= 1.46 ) debugging was possible.

Log File vscode-debugadapter-1.json.gz

VS Code Version: 1.47

Additional context Environment: Running VS Code in WSL on Windows Linux 4.4.0-18362-Microsoft #836-Microsoft Mon May 05 16:04:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
connor4312commented, Sep 29, 2020

Okay, gotcha. I’ll add that to our COMMON_PROBLEMS.md – this had come up before but I couldn’t find the issue. Glad you got it working.

1reaction
connor4312commented, Sep 29, 2020

Thanks, I see you’re running nvm, so are you able to easily try on the latest 10.x, e.g. 10.22.1? If I recall there were a couple point releases in 10.x where things were broken, though I don’t reproduce any issues on Ubuntu running 10.16.0 myself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New JavaScript Debugger Now Default in VS Code 1.47 ...
1 development tool Visual Studio Code has a new debugger for the oft-cited No. 1 programming language, JavaScript, in the new June 2020 ......
Read more >
Error on debugging in protractor typescript cucumber code in ...
Error on debugging in protractor typescript cucumber code in vscode - Cannot read source map file | ENOENT: no such file or directory....
Read more >
September 2021 (version 1.61) - Visual Studio Code
Learn what is new in the Visual Studio Code September 2021 Release (1.61)
Read more >
August 2021 (version 1.60) - Visual Studio Code
Last year we introduced a new debugger for Node.js and Chrome, and since VS Code 1.47 (July 2020) it has been the default,...
Read more >
June 2020 (version 1.47) - Visual Studio Code
Our new JavaScript debugger, after being the default debugger on Insiders last month, is now the default debugger for JavaScript (Node.js and Chrome)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found