hi there!
I have a Raspberry Pi CM4 IO Board device.
I’m working on it with the local mode enabled.
I have a running container with node and I expose the 9228 port in order to be able to debug it.
But it seems I can’t really attach to it.
I had a try with a configuration like this:
{
"address": "192.168.1.17",
"localRoot": "${workspaceFolder}/src",
"name": "Attach to Remote device",
"port": 9228,
"remoteRoot": "/usr/src/sample",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
it seems it’s attached, but any breakpoint is working.
Do you have any suggestions about how to configure VSCode in order to attach to the node process in the docker container?
I also had a try using the remote ssh vscode plugin, but it seems I can’t really connect to the device.
I also had a look to the balena plugin, but it seems you can’t use it as a debugger dev tool in rder to attach to a container process
any help could be super useful