diff options
-rw-r--r-- | .vscode/launch.json | 20 |
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 +} |