kernel/lib/Debug.php
public static function activateDebug()
    {
        if (self::$_bFirstActivation === true) {

            self::_setFileNameInErrorFile();
            self::$_bFirstActivation = false;
        }

        self::_initLogFile();
        self::$_bActivateDebug = true;
        self::activateError(E_ALL);
        self::activateException(E_ALL);
    }
public static function activateDebug()
    {
        if (self::$_bFirstActivation === true) {

            self::_setFileNameInErrorFile();
            self::$_bFirstActivation = false;
        }

        self::_initLogFile();
        self::$_bActivateDebug = true;
        self::activateError(E_ALL);
        self::activateException(E_ALL);
    }
activate debug

@access public
@return void