sorjef
sorjef

Reputation: 574

Visual Studio Code "debug.javascript.usePreview" Unknown Configuration Setting

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?

Upvotes: 2

Views: 3500

Answers (1)

sorjef
sorjef

Reputation: 574

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.

Upvotes: 6

Related Questions