1 安装 执行完这两句后 %GO_PATH%/bin中出现dlv.exe则说明安装成功
go get -u github.com/go-delve/delve/cmd/dlv
go install github.com/go-delve/delve/cmd/dlv
2 在goland中配置
Help->Edit Custom Properties->Create 然后在配置文件中添加dlv.exe路径
dlv.path=D:/go/bin/dlv.exe
3 重启goland
搞定