add debug flag to all error outputs