I have a sailsjs app in docker container and would like to debug through vs code. I currently have nodemon working and debugger listening at a port. Strangely my vs code is not hitting breakpoint.I tried below launch config.
"configurations": [
{
"name": "Docker: Attach To Node",
"type": "node",
"request": "attach",
"address": "localhost",
"restart": true,
"port": 9229,
"localRoot": "${workspaceFolder}",
"skipFiles": [
"<node_internals>/**"
],
"remoteRoot": "usr/src/app",
"protocol": "inspector"
},
On click on play green button nothing happens. VS code version 1.70.2. I am using windows 10.