Fixed default agent URL port (set to 8800)
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 7 Dec 2017 16:47:02 +0000 (17:47 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Thu, 7 Dec 2017 16:48:24 +0000 (17:48 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
.vscode/launch.json
main.go

index 5fc6380..6e0c820 100644 (file)
@@ -2,7 +2,7 @@
     "version": "0.2.0",
     "configurations": [
 
-    {
+        {
             "name": "xds-gdb help",
             "type": "go",
             "request": "launch",
             "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 (file)
--- 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