Bugfix: format output of debug console