summaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json57
-rw-r--r--.vscode/settings.json22
2 files changed, 79 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
+ }
+
+ ]
+}
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..c9bea18
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,22 @@
+// Place your settings in this file to overwrite default and user settings.
+{
+ // Configure glob patterns for excluding files and folders.
+ "files.exclude": {
+ "**/.tmp": true,
+ ".git": true,
+ "glide.lock": true,
+ "vendor/": true,
+ "debug": true,
+ "bin": true,
+ "tools": true
+ },
+ // Words to add to dictionary for a workspace.
+ "cSpell.words": [
+ "apiv",
+ "iosk",
+ "zhouhui",
+ "ldflags",
+ "socketio",
+ "xdsconfig"
+ ]
+}