X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=245c2ee0c82fe44c96fba302b411c1997e0f68d9;hb=285332c351777b74abca638b8b2a2cde3c68edc6;hp=8bdde697e347efc0c74461aec9d9208f1c76e087;hpb=ec7051e1da665206f594c7616ad381bfeaea333a;p=src%2Fxds%2Fxds-server.git diff --git a/.vscode/launch.json b/.vscode/launch.json index 8bdde69..245c2ee 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", @@ -13,25 +13,25 @@ "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", "ROOT_DIR": "${workspaceRoot}/../../../.." }, - "args": ["-log", "debug", "-c", "config.json.in"], + "args": ["-log", "debug"], "showLog": false }, { - "name": "XDS-Server IN DOCKER", + "name": "XDS-Server local dev", "type": "go", "request": "launch", "mode": "debug", - "port": 22000, - "host": "172.17.0.2", - "remotePath": "/xds/src/github.com/iotbzh/xds-server/bin/xds-server", + "remotePath": "", + "port": 2345, + "host": "127.0.0.1", "program": "${workspaceRoot}", "env": { "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", - "ROOT_DIR": "${workspaceRoot}/../../../.." + "ROOT_DIR": "${workspaceRoot}/../../../..", + "XDS_LOG_SILLY": "0" }, - "args": [], - "showLog": true + "args": ["-log", "debug", "-c", "__config_local_dev.json"], + "showLog": false } - ] -} \ No newline at end of file +}