X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Flaunch.json;h=c12c80c8ebf128e5d41ff04637f5be09e873232c;hb=4121746213075b785adf24eec17eb0bdf49199c3;hp=3f4facb874a9133ead1d38653b496e7942f1de09;hpb=e48154f403c82d30d282a03d9ce13ace334a6be9;p=src%2Fxds%2Fxds-server.git diff --git a/.vscode/launch.json b/.vscode/launch.json index 3f4facb..c12c80c 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", @@ -15,6 +16,18 @@ "args": ["-log", "debug"], "showLog": false }, + { + "name": "XDS-Server-Test", + "type": "go", + "request": "launch", + "mode": "test", + "program": "${workspaceRoot}/test", + "env": { + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", + }, + "args": ["-test.v", "-test.run", ".*"], + "showLog": false + }, { "name": "XDS-Server local dev", "type": "go", @@ -32,10 +45,21 @@ "showLog": false }, { - "type": "node", + "name": "Script SDK db-dump", + "type": "python", "request": "launch", - "name": "Script sdk list", - "program": "${workspaceFolder}/scripts/sdks/agl/list" + "stopOnEntry": true, + "pythonPath": "${config:python.pythonPath}", + "program": "${workspaceFolder}/scripts/sdks/agl/db-dump", + "args": [ + "-debug" + ], + "cwd": "${workspaceFolder}", + "env": {}, + "envFile": "${workspaceFolder}/.env", + "debugOptions": [ + "RedirectOutput" + ] } ] }