chen.yang 219e0ac047 补充传入调试参数.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2022-01-09 16:48:37 +08:00

188 B

Go dlv 远程调试

dlv exec --headless --api-version=2 -l "<ip>:<port>" </absolute/path/to/program> -- <arg list>

之后用任意 Go IDE 连接即可进行远程调试。