aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-07 19:42:43 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-07 19:42:43 +0200
commited89fa27ad268921f2598eae4aa5df975f75553d (patch)
tree52bd7e177a5429ac6caa52dad1f02656009555e3
parent356af1eaeae9bb7d38b84d87134b1afe7a496e85 (diff)
Update vsc launcher.
-rw-r--r--.vscode/launch.json20
1 files changed, 18 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 8bdde69..3637b39 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -1,7 +1,7 @@
{
"version": "0.2.0",
"configurations": [{
- "name": "XDS-Server local",
+ "name": "XDS-Server",
"type": "go",
"request": "launch",
"mode": "debug",
@@ -16,6 +16,22 @@
"args": ["-log", "debug", "-c", "config.json.in"],
"showLog": false
},
+{
+ "name": "XDS-Server local dev",
+ "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_local_dev.json"],
+ "showLog": false
+ },
{
"name": "XDS-Server IN DOCKER",
"type": "go",
@@ -34,4 +50,4 @@
}
]
-} \ No newline at end of file
+}