set GO111MODULE to off and the debug wont fail in go 1.11+
This commit is contained in:
parent
46e8e4c56b
commit
d6a6184421
1 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,8 @@
|
|||
"program": "${workspaceRoot}/hello-world.go",
|
||||
"mode": "debug",
|
||||
"dlvToolPath": "$HOME/go/bin/dlv",
|
||||
"trace": true
|
||||
"trace": true,
|
||||
"env": { "GO111MODULE": "off" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue