| { |
| // Use IntelliSense to learn about possible attributes. |
| // Hover to view descriptions of existing attributes. |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
| "version": "0.2.0", |
| "configurations": [ |
| { |
| "name": "Debug", |
| "type": "gdb", |
| "request": "launch", |
| "target": "app", |
| "cwd": "${workspaceRoot}/bin", |
| "valuesFormatting": "parseText", |
| "gdbpath": "sgx-gdb", |
| "ssh": { |
| "forwardX11": false, |
| "host": "172.19.32.44", // your IP |
| "cwd": "${workspaceRoot}/bin", |
| // SSH private key on remote machine. Add the pub key to ~/.ssh/authorized_keys |
| // This ssh configuration is established from host to host, because the current |
| // vscode session is "within a ssh session established by vscode-ssh". |
| // I think this might be a bug but can hardly be resolved. |
| "keyfile": "/home/ding/.ssh/id_rsa", // private key |
| "user": "ding", |
| "bootstrap": "source /opt/sgxsdk/environment", |
| "port": 22 |
| } |
| } |
| ] |
| } |