Attach over ssh with gdb (fix #83)
This commit is contained in:
parent
c9be6b0634
commit
4f8ae4eb24
6 changed files with 132 additions and 30 deletions
60
package.json
60
package.json
|
|
@ -220,6 +220,66 @@
|
|||
"type": "array",
|
||||
"description": "GDB commands to run when starting to debug",
|
||||
"default": []
|
||||
},
|
||||
"ssh": {
|
||||
"required": [
|
||||
"host",
|
||||
"cwd",
|
||||
"user"
|
||||
],
|
||||
"type": "object",
|
||||
"description": "If this is set then the extension will connect to an ssh host and run GDB there",
|
||||
"properties": {
|
||||
"host": {
|
||||
"type": "string",
|
||||
"description": "Remote host name/ip to connect to"
|
||||
},
|
||||
"cwd": {
|
||||
"type": "string",
|
||||
"description": "Path of project on the remote"
|
||||
},
|
||||
"port": {
|
||||
"type": "number",
|
||||
"description": "Remote port number",
|
||||
"default": 22
|
||||
},
|
||||
"user": {
|
||||
"type": "string",
|
||||
"description": "Username to connect as"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "Plain text password (unsafe; if possible use keyfile instead)"
|
||||
},
|
||||
"keyfile": {
|
||||
"type": "string",
|
||||
"description": "Absolute path to private key"
|
||||
},
|
||||
"forwardX11": {
|
||||
"type": "boolean",
|
||||
"description": "If true, the server will redirect x11 to the local host",
|
||||
"default": true
|
||||
},
|
||||
"x11port": {
|
||||
"type": "number",
|
||||
"description": "Port to redirect X11 data to (by default port = display + 6000)",
|
||||
"default": 6000
|
||||
},
|
||||
"x11host": {
|
||||
"type": "string",
|
||||
"description": "Hostname/ip to redirect X11 data to",
|
||||
"default": "localhost"
|
||||
},
|
||||
"remotex11screen": {
|
||||
"type": "number",
|
||||
"description": "Screen to start the application on the remote side",
|
||||
"default": 0
|
||||
},
|
||||
"bootstrap": {
|
||||
"type": "string",
|
||||
"description": "Content will be executed on the SSH host before the debugger call."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue