We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40b8557 commit e1ceb68Copy full SHA for e1ceb68
pkg/gui/gui.go
@@ -623,7 +623,10 @@ func (gui *Gui) Run(startArgs appTypes.StartArgs) error {
623
deadlock.Opts.LogBuf = utils.NewOnceWriter(os.Stderr, func() {
624
gui.g.Close()
625
})
626
- deadlock.Opts.Disable = !gui.Debug
+ // disable deadlock reporting if we're not running in debug mode, or if
627
+ // we're debugging an integration test. In this latter case, stopping at
628
+ // breakpoints and stepping through code can easily take more than 30s.
629
+ deadlock.Opts.Disable = !gui.Debug || os.Getenv(components.WAIT_FOR_DEBUGGER_ENV_VAR) == ""
630
631
if err := gui.Config.ReloadUserConfig(); err != nil {
632
return nil
0 commit comments