aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode/launch.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..8bdde69
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,37 @@
+{
+ "version": "0.2.0",
+ "configurations": [{
+ "name": "XDS-Server local",
+ "type": "go",
+ "request": "launch",
+ "mode": "debug",
+ "remotePath": "",
+ "port": 2345,
+ "host": "127.0.0.1",
+ "program": "${workspaceRoot}",
+ "env": {
+ "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+ "ROOT_DIR": "${workspaceRoot}/../../../.."
+ },
+ "args": ["-log", "debug", "-c", "config.json.in"],
+ "showLog": false
+ },
+ {
+ "name": "XDS-Server IN DOCKER",
+ "type": "go",
+ "request": "launch",
+ "mode": "debug",
+ "port": 22000,
+ "host": "172.17.0.2",
+ "remotePath": "/xds/src/github.com/iotbzh/xds-server/bin/xds-server",
+ "program": "${workspaceRoot}",
+ "env": {
+ "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+ "ROOT_DIR": "${workspaceRoot}/../../../.."
+ },
+ "args": [],
+ "showLog": true
+ }
+
+ ]
+} \ No newline at end of file