增加 Golang Debug 问题及解决.
Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
parent
64970f532d
commit
991717bf58
|
@ -0,0 +1,11 @@
|
||||||
|
# Golang Debug 问题及解决
|
||||||
|
|
||||||
|
## 1.调试报错:Version of Delve is too old for this version of Go
|
||||||
|
|
||||||
|
原因是 DLV 版本过低,使用:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
go get github.com/go-delve/delve/cmd/dlv
|
||||||
|
```
|
||||||
|
|
||||||
|
命令升级 DLV 后重启下 goland 即可。
|
Loading…
Reference in New Issue