I'm trying to debug node script in vs code.
Below is my launch.json -
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug sql report",
"program": "${workspaceFolder}/scripts/debug_sql.js"
}
]
}
when I run I get an error Cannot find debug adapter for type 'node'.
My code version is - Version 1.36.1 (1.36.1)
Node debugger used to work earlier. But not sure why it is not working now.
Any idea how to fix this?
I'm not sure if it's a solution, but in my case uninstalling some extensions solved the problem. You/Anyone in future having this problem might try this step as well.