12

How do you stop delve headless debugger?

Note: I am runningthis from a docker container on mac, and installed like this:

go get -u github.com/derekparker/delve/cmd/dlv

From this it starts ok, but how do you stop it again.

dlv debug --headless --listen=:2345

ctrl + c etc. do not work - any special trick?

Chris G.
  • 23,930
  • 48
  • 177
  • 302

1 Answers1

7

use kill -SIGINT $PID

delve will ignore SIGINT in headless mode

General Grievance
  • 4,555
  • 31
  • 31
  • 45
ZhangYangong
  • 86
  • 1
  • 4