On Thu, Mar 8, 2018 at 4:41 AM, <parthasarathi.ku...@gmail.com> wrote: > > How can I debug the unit tests in go ? Normal executible I debug with gdb or > delve. > I am running from command prompt go test -v ./test/... -run Test_Connect.
Run `go -test c PKG` to get an executable for the package PKG. You can then run that executable with -test.v and test.run options. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.