When trying to debug with vscode, debugger gets attached, breakpoint gets added(shows proper red dot). but, the control won't stop at breakpoint.
But, in chrome inspect(chrome://inspect), everything works fine.
The app is running inside docker.
command(notice babel-node here):
nodemon --delay 5 --inspect=0.0.0.0:9229 -w src --exec \"babel-node src\"
launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach to crazy app",
"port": 9229,
"address": "localhost",
"sourceMaps": true,
"remoteRoot": "/root/app/",
"localRoot": "${workspaceRoot}", // app is workspace root and has src folder
"smartStep": true,
"restart": true
}
]
}
What am I missing here?
When trying to debug with vscode, debugger gets attached, breakpoint gets added(shows proper red dot). but, the control won't stop at breakpoint.
But, in chrome inspect(chrome://inspect), everything works fine.
The app is running inside docker.
command(notice
babel-nodehere):nodemon --delay 5 --inspect=0.0.0.0:9229 -w src --exec \"babel-node src\"launch.json
What am I missing here?