2

The new built-in javascript debug extension in VSCode does not hit breakpoints for node v8.* for me. Breakpoints stay unbound. Everything worked before and I want to use the old node debugging extension. I've seen people recommending to just set "debug.javascript.usePreview": "false", but VSC 1.60.0 says that it is an unknown configuration setting.

How can I revert to the old node/javascript debugger?

1 Answer 1

6

debug.javascript.usePreview is no longer available starting from VSCode 1.60.0.

Use "type": "legacy-node" or "type": "legacy-chrome" in your launch.json as mentioned here 1.60 Changelog — Javascript Debugging.

Sign up to request clarification or add additional context in comments.

3 Comments

I get Please use type chrome instead(2). The debug type is not recognized. Make sure that you have a corresponding debug extension installed and that it is enabled. Maybe it has changed in v 1.75?
@Timo Do you have this extension installed?
Thanks, in the description of the linked extension, I read Node.js debugging support (versions < 8.0). I have Node 19, so it should not help?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.