Print error messages to output in debugMode