Reputation: 4236
The debug type is not recognized. Make sure you've got a corresponding debug extension installed and that it is enabled.
vscode v. 1.23.1
node v. 7.9.0
windows 10
Node Debug build in extension is enabled. Restarted vscode multiple times to no avail. It used to work just up until yesterday, not sure what much has changed to cause that "not recognized" warning. Also, it doesn't appear when clicking the Add Configuration... button.
Upvotes: 9
Views: 12723
Reputation: 121
please install the extension JavaScript Debugger (Nightly)
the "Node Debug (legacy)" extension is deprecated.
Upvotes: 1
Reputation: 9418
The fix to me was to uninstall the extension then install it back.
Upvotes: 2
Reputation: 8796
In case it can help someone, one day... I got this issue (april 2022). To fix it, I had to run those VSCode commands:
Disable All Installed Extensions
Enable All Extensions
Upvotes: 1
Reputation: 4236
There seem to be 2 Node Debug extensions. One that doesn't appear at first glance is "Node Debug (legacy)". The problem with my project was that it was disabled for some reason.
How I fixed it:
Upvotes: 9