From d6a6184421a016f9728559995f2a872acd9ad7b1 Mon Sep 17 00:00:00 2001 From: Ray Xu Date: Thu, 4 Jun 2020 16:39:36 +1000 Subject: [PATCH] set GO111MODULE to off and the debug wont fail in go 1.11+ --- support/test/go/hello_world/.vimspector.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/test/go/hello_world/.vimspector.json b/support/test/go/hello_world/.vimspector.json index 7934b48..f320b1b 100644 --- a/support/test/go/hello_world/.vimspector.json +++ b/support/test/go/hello_world/.vimspector.json @@ -7,7 +7,8 @@ "program": "${workspaceRoot}/hello-world.go", "mode": "debug", "dlvToolPath": "$HOME/go/bin/dlv", - "trace": true + "trace": true, + "env": { "GO111MODULE": "off" } } } }