go语言升级到 go 1.13.1 版本后,IntelliJ IDEA 开发 go , debug模式运行时报错
could not launch process: decoding dwarf section info at offset 0x0: too short
解决方法:
1.go get -u github.com/derekparker/delve/cmd/dlv
2.设置idea.properties, Help -> Edit Custom Properties
# could not launch process: decoding dwarf section info at offset 0x0: too short
# 注意更改path path为GOPATH,如:E:/Server/bin/dlv.exe
dlv.path=E:/Server/bin/dlv.exe