With this setup I'm able to remote debug js files (on my Raspberry Pi). But I would like to break inside ts files just as I'm able to do while local debugging. Is this possible?
I tried with different param in launch.json but with no luck. sourceMaps and outFiles seem to have no effect.
launch.json
{
"type": "node",
"request": "attach",
"name": "Attach to Remote",
"address": "192.168.0.222",
"port": 9229,
"protocol": "inspector",
"localRoot": "${workspaceFolder}/src",
"remoteRoot": "/home/pi/BADGER/src",
"outFiles": [
"${workspaceFolder}/bin/**/*.js"
],
"sourceMaps": true
}
node index.jsor whatever you use and enterhttp://192.168.0.222:9229Verify you see it correctly.