summaryrefslogtreecommitdiffstats
path: root/.vscode/launch.json
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-07 08:49:25 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-07 18:01:35 +0200
commit60974e66c57cacdc2483d74718c4bb0a993d2183 (patch)
tree2722369e9cf2c7a3fb499011030fc4718f31e30f /.vscode/launch.json
Initial commitv0.0.1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json57
1 files changed, 57 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..f047dc0
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,57 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+
+ {
+ "name": "xds-gdb help",
+ "type": "go",
+ "request": "launch",
+ "mode": "debug",
+ "program": "${workspaceRoot}",
+ "env": {
+ "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+ "XDS_LOGLEVEL": "debug"
+ },
+ "args": ["-tt", "--help", "--version"],
+ "showLog": false
+ },
+ {
+ "name": "xds-gdb",
+ "type": "go",
+ "request": "launch",
+ "mode": "debug",
+ "program": "${workspaceRoot}",
+ "env": {
+ "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}"
+ },
+ "args": ["-x", "/tmp/gdbconf.ini", "-nx"],
+ "showLog": false
+ },
+ {
+ "name": "xds-gdb TTY",
+ "type": "go",
+ "request": "launch",
+ "mode": "debug",
+ "program": "${workspaceRoot}",
+ "env": {
+ "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}"
+ },
+ "args": ["-tty", "/dev/pts27", "-nx", "-x", "${workspaceRoot}/__config/gdb-on-m3ulcb_debug_pi.ini"],
+ "showLog": false
+ },
+ {
+ "name": "xds-gdb native",
+ "type": "go",
+ "request": "launch",
+ "mode": "debug",
+ "program": "${workspaceRoot}",
+ "env": {
+ "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+ "XDS_LOGLEVEL": "debug"
+ },
+ "args": ["-x", "${workspaceRoot}/__config/gdb-on-localhost_debug_pi.ini"],
+ "showLog": false
+ }
+
+ ]
+}