I am trying to set up VScode to debug a remote nodejs app on a Raspberry Pi 4. I use VScode - Insiders and the Remote Development extension with Remote - SSH (nightly). The SSH connection works perfectly fine and I can debug remote Python programs easily. When I launch a nodejs program (test.js) nothing happens. In the debug console I only see: /usr/bin/node test.js and then nothing happens. I can execute the same line in the VScode terminal and it runs as expected.
My launch config is below, node debug is available on the remote.
Can someone please help me out?
{
"name": "Launch Program",
"program": "${workspaceFolder}/test.js",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},