Earlier quoted context omitted.
I'd say you want something like 'debug_msg()' for this. 'print()' should be async because it does IO. In the real world most likely you'd see the output once you yield.
Huh, typically print is the debug message function vs explicitly writing to stdout
I personally find myself using print debugging as a last resort when the debugger doesn't suffice.