I’ve written a go service and want to debug it. I read on go site that gdb isn’t advised as it is buggy and to use delve instead. However, I follow the instructions on this page: https://github.com/go-delve/delve/blob/master/Documentation/installation/linux/install.md
to install it and when I try to type dlv at command line it says there is no such command.
The instructions are not very good either way, but obviously there is something else to get this working. I have the dlv program in $GOPATH/bin but the OS can’t find it. If I enter $GOPATH/bin/dlv debug I get _cgo_export.c:3:10: fatal error: stdlib.h: No such file or directory
I would have expected better documentation on this since it is the only way to apparently debug go apps.
Are there any sites or