4 ms·
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
by staplung 10y ago
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.
- fleshweasel 10y agoHonestly, 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.
- karlnowak 10y agoYou can use homebrew with this command: brew install steeve/delve/delve [--HEAD]
- be_erik 10y agoJust tried this on a new setup and it works fantastically. It did all the cert mucking for me.
- joefitzgerald 10y agoPrecompiled binaries for OS X are coming: https://github.com/derekparker/delve/issues/494 https://github.com/derekparker/delve/issues/494