diff options
-rw-r--r-- | .vscode/launch.json | 7 | ||||
-rw-r--r-- | main.go | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 5fc6380..6e0c820 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,7 +2,7 @@ "version": "0.2.0", "configurations": [ - { + { "name": "xds-gdb help", "type": "go", "request": "launch", @@ -22,12 +22,13 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}" + "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "XDS_LOGLEVEL": "debug" }, "args": ["-x", "${workspaceRoot}/__config/gdb-on-target.ini", "-nx"], "showLog": false }, - { + { "name": "xds-gdb TTY", "type": "go", "request": "launch", @@ -107,7 +107,7 @@ func main() { log.Out = fdL log.Level = logrus.DebugLevel - agentURL = "localhost:8000" + agentURL = "localhost:8800" logLevel = defaultLogLevel // Create a new App instance |