Simulator hides console when printed to

I have an intermittent bug where the console window is suddenly removed after half an hour’s development or so.

It seems to be triggered (crashing the console window task?) when printing event.y from a touch handler during the moved phase.
 

Things I’ve tried:

  1. Ctrl+R
  2. Window > Console
  3. Windows > Show All Windows
  4. Re-opening the project
  5. Restarting the Simulator

Only the last action shows the console window.

I’ve waited a few daily builds before reporting, but 2019.3463 is the same. This is on the latest iMac, 2017 5K/16GB/i5, latest OS X Mojave 10.14.3.

You don’t happen to be using some global variable named “debug” are you?

You don’t happen to be using some global variable named “debug” are you?