class Debug

Registers all the debug tools.

Methods

static 
enable(integer $errorReportingLevel = null, Boolean $displayErrors = true)

Enables the debug tools.

Details

at line line 36
static enable(integer $errorReportingLevel = null, Boolean $displayErrors = true)

Enables the debug tools.

This method registers an error handler and an exception handler.

If the Symfony ClassLoader component is available, a special class loader is also registered.

Parameters

integer $errorReportingLevel The level of error reporting you want
Boolean $displayErrors Whether to display errors (for development) or just log them (for production)