How to use Delve debugger in Visual Studio Code
For using Delve debugger in Visual Studio Code with Golang, do the following steps: ( Note: for Windows OS replace all $GOPATH with %GOPATH% ) Install Latest Golang and set GOROOT and GOPATH Add $GOPATH/bin to your OS PATH environment variable. set environment variable: GO15VENDOREXPERIMENT = 1 run: go get github.com/derekparker/delve/cmd/dlv and make sure dlv … Read more