Changed 'errors' to 'debug'