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 had to restart vscode.
Not sure if it's connected but my app crashed because of JavaScript heap out of memory error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With