I've recently upgraded my vscode and now I get this error when I try to run the service:
D:\herokuworkspace\server/node_modules/.bin/babel-node.CMD --inspect-brk=27776 src\index.js
D:\Program Files\nodejs\node.exe: bad option: --inspect-brk=27776
This is my configuration:
{
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/babel-node",
"name": "Launch Program",
"program": "${workspaceFolder}/src/index.js",
"cwd": "${workspaceRoot}",
"internalConsoleOptions": "openOnSessionStart"
}
Please advise what should I change in the configuration in order to make it work again.