8bdde697e347efc0c74461aec9d9208f1c76e087
[src/xds/xds-server.git] / .vscode / launch.json
1 {
2     "version": "0.2.0",
3     "configurations": [{
4             "name": "XDS-Server local",
5             "type": "go",
6             "request": "launch",
7             "mode": "debug",
8             "remotePath": "",
9             "port": 2345,
10             "host": "127.0.0.1",
11             "program": "${workspaceRoot}",
12             "env": {
13                 "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
14                 "ROOT_DIR": "${workspaceRoot}/../../../.."
15             },
16             "args": ["-log", "debug", "-c", "config.json.in"],
17             "showLog": false
18         },
19         {
20             "name": "XDS-Server IN DOCKER",
21             "type": "go",
22             "request": "launch",
23             "mode": "debug",
24             "port": 22000,
25             "host": "172.17.0.2",
26             "remotePath": "/xds/src/github.com/iotbzh/xds-server/bin/xds-server",
27             "program": "${workspaceRoot}",
28             "env": {
29                 "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
30                 "ROOT_DIR": "${workspaceRoot}/../../../.."
31             },
32             "args": [],
33             "showLog": true
34         }
35
36     ]
37 }