Yes, it's restrictive. In fact, debug message are ignored by default, not written in the log file neither on standard output.
When you launch CR with the "test.py" script, "debug mode" is enable, and these messages will be kept (log file + stdout). So, for me, "only" is the good work. I will add a clearer explanation in the comment :)