• Модуль: perfmon
  • Путь к файлу: ~/bitrix/modules/perfmon/classes/general/keeper.php
  • Класс: CPerfomanceKeeper
  • Вызов: CPerfomanceKeeper::restoreDebugMode
static function restoreDebugMode()
{
	global $DB, $APPLICATION;

	$toRestore = explode("|", constant("PERFMON_STARTED"));

	$DB->ShowSqlStat = $toRestore[0];

	BitrixMainDataCache::setShowCacheStat($toRestore[1]);
	$APPLICATION->ShowIncludeStat = $toRestore[2];
}