Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The debug type is not recognized "type": "node"

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.

like image 919
ZenVentzi Avatar asked Jun 11 '18 05:06

ZenVentzi


1 Answers

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:

  1. Find "Node Debug (legacy)" extension
  2. Enable and reload vscode
like image 183
ZenVentzi Avatar answered Oct 12 '22 21:10

ZenVentzi