set GO111MODULE to off and the debug wont fail in go 1.11+

This commit is contained in:
Ray Xu 2020-06-04 16:39:36 +10:00
commit d6a6184421

View file

@ -7,7 +7,8 @@
"program": "${workspaceRoot}/hello-world.go",
"mode": "debug",
"dlvToolPath": "$HOME/go/bin/dlv",
"trace": true
"trace": true,
"env": { "GO111MODULE": "off" }
}
}
}