[go-nuts] Debugging unit tests in go

2018-03-08 Thread Sotirios Mantziaris
Visual studio code with go extension which uses delve. Just works like a charm. -- 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...@googlegrou

Re: [go-nuts] Debugging unit tests in go

2018-03-08 Thread Ian Lance Taylor
On Thu, Mar 8, 2018 at 4:41 AM, 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 exec

[go-nuts] Debugging unit tests in go

2018-03-08 Thread parthasarathi . kundu
Hi, 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. Any thing better with ide ? Thanks -- You received this message because you are subscribed to the Google Groups "golang-nuts" group