How to generate a new Debug build?

I’m not very good at Go - in fact, I’m really bad at it. Nevertheless, I’m trying to add some features to Grafana that our team will find beneficial. I’ve found that I can fully debug by running ./pkg/cmd/grafana-server/debug, so that all symbols are loaded into the debugger. However, I’m not confident that my go run build.go build commands are generating new debug builds.

Could someone confirm how this is built?
The reason I’m not convinced it’s generated during build.go build is because my debugger has started stopping on blank lines (indicating to me that the source in my IDE doesn’t match the actually running binary).