As I’m getting a little more adventurous with Go I’m finding myself hitting scenarios where I need to debug. I am using tests to help me in most situations, but now I have hit a wall.
I can see there is Delve for Intellij, but I cant seem to get it to run from my test configuration. Can you guys recommend anything else?
Whilst I appreciate thats a valid approach, and one I have used extensively, I need something more pragmatic. I am working with extremely large strings, and the command line buffer is getting hammered. Not to mention my poor little brain can’t cope with all that information. At least with debugging I can process the information in bite-sized chunks.
Go has forced me to write more test driven code , a good thing in the long run…
Debugger options: github.com/mailgun/godebug if you prefer command line debugging github.com/derekparker/delve + Visual Studio Code if you prefer IDE style debugging
I do like the support of an IDE, but I did use Atom for a long time with Dash. I will see how VS compares to IDEA, the Delve debugging with IDEA is very hit & miss.