Can't breakpoint app startup

I've got an app that uses a script to setup some environment variable and command args.  I'm using GoLand 2019.1.  I can start it up and then use "Attach to Process", but the code I need to capture has already run.  There's got to be a way to do this, right?

0
正式评论

Answered here: https://blog.jetbrains.com/go/2019/02/06/debugging-with-goland-getting-started/#comment-18197

Let's keep the discussion in a single place as that will make things easier for everyone to keep track of.

请先登录再写评论。