From bdad560b10561898ff8cd1b7134c330b2a2721de Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Thu, 7 Dec 2017 17:47:02 +0100 Subject: [PATCH] Fixed default agent URL port (set to 8800) Signed-off-by: Sebastien Douheret --- .vscode/launch.json | 7 ++++--- 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", diff --git a/main.go b/main.go index 4cc05e6..3df9e1a 100644 --- a/main.go +++ b/main.go @@ -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 -- 2.16.6