Goland Mac(M1) Remote Debug dlv error

GoLand 2022.1

服务器 CentOS 6.0 go1.18.3 linux/amd64

每次debug会将本地的dlv文件发送到服务器上,但是并没有发送正确的Linux版本的dlv,而是Linuxarm

 

解决办法:

/Applications/GoLand.app/Contents/plugins/go/lib/dlv/linuxarm 下面的dlv替换成 /Applications/GoLand.app/Contents/plugins/go/lib/dlv/linux/dlv

posted @ 2022-07-07 01:00  hello大雄  阅读(104)  评论(0编辑  收藏  举报