X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=7c3d99c79669cee1e9e5ef0d002b2e30f6291fee;hb=e97eebc18d726aa55738d7e19513491cf58a6e3a;hp=558325109573a79737393aa5d9dd9c0fc02b18de;hpb=5e120c466686880c5bf6b94043dd01edc261fef9;p=src%2Fxds%2Fxds-server.git diff --git a/.vscode/launch.json b/.vscode/launch.json index 5583251..7c3d99c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,6 +1,7 @@ { "version": "0.2.0", - "configurations": [{ + "configurations": [ + { "name": "XDS-Server", "type": "go", "request": "launch", @@ -10,10 +11,9 @@ "host": "127.0.0.1", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", - "ROOT_DIR": "${workspaceRoot}/../../../.." + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", }, - "args": ["-log", "debug", "-c", "config.json.in"], + "args": ["-log", "debug"], "showLog": false }, { @@ -26,11 +26,28 @@ "host": "127.0.0.1", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", - "ROOT_DIR": "${workspaceRoot}/../../../.." + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", + "XDS_LOG_SILLY": "0" }, "args": ["-log", "debug", "-c", "__config_local_dev.json"], "showLog": false + }, + { + "name": "Script SDK db-dump", + "type": "python", + "request": "launch", + "stopOnEntry": true, + "pythonPath": "${config:python.pythonPath}", + "program": "${workspaceFolder}/scripts/sdks/agl/db-dump", + "args": [ + "-debug" + ], + "cwd": "${workspaceFolder}", + "env": {}, + "envFile": "${workspaceFolder}/.env", + "debugOptions": [ + "RedirectOutput" + ] } ] }