Changed the way in which the debug output is specified