add some extra debugging statements in needed places

3 jobs for 13-open-mode-not-working in 1 minute and 19 seconds (queued for 2 seconds)
latest