I'm trying to use native debug (https://marketplace.visualstudio.com/items?itemName=webfreak.debug) extention in vscode to launch gdb on a remote server through ssh. It's working when I'm connecting directly to remote sever :
{
"version": "0.2.0",
"configurations": [
{
"type": "gdb",
"request": "launch",
"name": "Launch Program (SSH)",
"target": "./appli",
"cwd": "${workspaceFolderBasename}",
"arguments": "",
"ssh": {
"host": "xxx.xx.xxx.xxx",
"cwd": "/home/username/project",
"keyfile": "/home/username/.ssh/id_rsa",
"user": "username"
},
"valuesFormatting": "parseText"
}
]
}
Is there any way to launch gdb on remote server through proxy ? Let https://www.npmjs.com/package/ssh2 command for example use my .ssh/config file
I want to launch gdb on remote server yyy.yy.yyy.yyy through a proxy xxx.xx.xxx.xxx