NotePublic/Software/Development/Language/Go/Package/Delve/Go_dlv_远程调试.md

8 lines
188 B
Markdown
Raw Normal View History

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