增加 Go dlv 远程调试.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
parent
f56d081a1d
commit
36eb06af24
@ -0,0 +1,7 @@
|
||||
# Go dlv 远程调试
|
||||
|
||||
```bash
|
||||
dlv exec </absolute/path/to/program> --headless --api-version=2 -l "<ip>:<port>"
|
||||
```
|
||||
|
||||
之后用任意 Go IDE 连接即可进行远程调试。
|
Loading…
x
Reference in New Issue
Block a user