增加 Go dlv 远程调试.

Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
chen.yang 2021-12-13 15:52:30 +08:00
parent f56d081a1d
commit 36eb06af24

View File

@ -0,0 +1,7 @@
# Go dlv 远程调试
```bash
dlv exec </absolute/path/to/program> --headless --api-version=2 -l "<ip>:<port>"
```
之后用任意 Go IDE 连接即可进行远程调试。