Documentation

setDebugMode

void public
\Bitrix\Main\Diag\ExceptionHandler::setDebugMode(
 boolean $debug
);

Non-static method sets debugging mode.

Must be used during development process.

Parameters

ParameterDescriptionVersion
$debugWhen true, shows the error to the user. When false, doesn't display the majority of errors.

Example



© «Bitrix24», 2001-2024
Up