mac版
安装
参考官网: delve/Documentation/installation at master · go-delve/delve (github.com)
编译之后,对应GOPATH/bin/dlv,会生成一个该名字的执行程序。
dlv路径
/Applications/GoLand.app/Contents/plugins/go/lib/dlv/mac/
将dlv执行程序,进行覆盖到当前目录,具体可以参考自己goland的安装位置。
mac版
安装
参考官网: delve/Documentation/installation at master · go-delve/delve (github.com)
编译之后,对应GOPATH/bin/dlv,会生成一个该名字的执行程序。
dlv路径
/Applications/GoLand.app/Contents/plugins/go/lib/dlv/mac/
将dlv执行程序,进行覆盖到当前目录,具体可以参考自己goland的安装位置。