Closed
Description
- Connect to an ssh remote
- Start this debug config
{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
}
- Pick the pid of the extension host, or one of its children
- Check
process.pid
in the debug console to see that you got attached to the server process instead - Also, setting
"attachExistingChildren": true,
"autoAttachChildProcesses": true,
doesn't make a difference