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
Status Job ID Name Coverage
  Build
passed #134203
build_esp32_application

00:00:58

passed #134202
build_tests

00:01:05

 
  Test
passed #134204
test_application

00:00:14