I am trying use godebug to debug golang program. I am using windows. These are the steps I have followed.
-
Install godebug using command prompt.
go get -u github.com/mailgun/godebug
-
Added a breakpoint in the middle of main.go
_ = "breakpoint"
-
Run godebug using command prompt
godebug run main.go
On my third step, I get error below. I have closed and reopen my command prompt after installing godebug.
'godebug' is not recognized as an internal or external command, operable program or batch file.
Can anyone help he if I missed any steps in this.
Thanks!