Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97355

VSCODE run gdb on remote server through proxy

$
0
0

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


Viewing all articles
Browse latest Browse all 97355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>