• Модуль: timeman
  • Путь к файлу: ~/bitrix/modules/timeman/lib/monitor/config.php
  • Класс: BitrixTimemanMonitorConfig
  • Вызов: Config::enableDebugForCurrentUser
static function enableDebugForCurrentUser(): bool
{
	if (!self::isAvailable())
	{
		return false;
	}

	$userId = self::getCurrentUserId();
	if(!$userId)
	{
		return false;
	}

	self::enableDebugForUsers($userId);

	return true;
}