mailgun / godebug

DEPRECATED! https://github.com/derekparker/delve
Apache License 2.0
2.5k stars 107 forks source link

Debug With Multiple GO Files ? #54

Closed melihmucuk closed 9 years ago

melihmucuk commented 9 years ago

Hi, I'm developing rest api and my project folder looks like :

ProjectFolder

how can I debug my project ? godebug run main.go didn't work.

melihmucuk commented 9 years ago

Oh, I found how to handle it.

run godebug build, this will create projectName.debug file at project folder.

then run debug exec like this ./projectName.debug

jeremyschlatter commented 9 years ago

You can also run godebug run *.go. The same is true of the normal go command.