"Cannot Find Debug Adapter For Type 'node'. "


Answer :

I had to restart vscode.

Not sure if it's connected but my app crashed because of JavaScript heap out of memory error.


Just install the older 'Node Debug' version from the VSC market place. In my case 1.33 did n't and 1.31 works.


To debug node js on vs-code two extensions are required.

  • Node Debug
  • Node Debug(legacy)

install or enable both and reload.

reason for requiring both mentioned here

"Node Debug (legacy)" is important because it delegates to "Node Debug" for Node.js versions >= 8.0. Without "Node Debug (legacy)" node debugging is basically disabled because nobody will delegate.


Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?