delve: could not launch process: stub exited while waiting for connection: exit status 0

In interlliJ IDE, I can’t launch the debug mode, the error just like title said

  1. What version of Delve are you using (dlv version)? 1.0.0-rc.1
  2. What version of Go are you using? (go version)? go1.9 darwin/amd64
  3. What operating system and processor architecture are you using? Mac OS 10.11.6
  4. What did you do? Just debug a file
  5. What did you expect to see? can launch the debug mode
  6. What did you see instead?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

In case this helps someone else, I found that having a missing/botched 127.0.0.1 localhost entry in /etc/hosts will also cause this error.