setDebugMode
void public \Bitrix\Main\Diag\ExceptionHandler::setDebugMode( boolean $debug );
Non-static method sets debugging mode.
Must be used during development process.
Parameters
Parameter | Description | Version |
---|---|---|
$debug | When true, shows the error to the user. When false, doesn't display the majority of errors. |
Example
© «Bitrix24», 2001-2024