Five minute intro to debuggers for Go

What should be written on the Golang / Go debugger box

The out of the box experience of debugging Go on a Mac was a tad disappointing. I was expecting to be able to type my usual list command and throw in a few break points and get started.

Firstly, gdb is no longer installed by default with the developer tools (apparently it works but …), and secondly lldb (which is installed by default) could not even list the code.

Delve (dlv)

Next up was dlv (
https://github.com/go-delve/delve) which is designed for Go.

This short article will cover the few things I found out the hard way that would have speeded up the experience of getting started with this debugger.