Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd very much like to use a debugger with my Go code but the two initiatives I've seen both require installing delve locally and it's a big pain in the ass. The official instructions for OSX begin with "Make a self signed certificate", which they then break down into 14 separate steps.

I wonder how hard it would be to make a delve server and install it on a Docker instance that could talk back to Atom/Sublime/VSCode.



You can use homebrew with this command:

brew install steeve/delve/delve [--HEAD]


Just tried this on a new setup and it works fantastically. It did all the cert mucking for me.


Honestly, comparing the choice of mucking with code signing on OS X and having to deploy, run, and debug my app through Docker, I would just learn to sign code.

I do think it's weird that more debuggers don't come as signed binaries--gdb requires you do similar things and it all goes back to OS X's requirement that processes which take control of other processes have to be running signed binaries.


Precompiled binaries for OS X are coming: https://github.com/derekparker/delve/issues/494




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: