/**
 * @deprecated Since 5.0
 * @return null
 */
function eZDisplayDebug()
{
    $ini = eZINI::instance();
    if ($ini->variable('DebugSettings', 'DebugOutput') != 'enabled') {
        return null;
    }
    $scriptStopTime = microtime(true);
    $type = $ini->variable("DebugSettings", "Debug");
    //eZDebug::setHandleType( eZDebug::HANDLE_NONE );
    if ($type == "inline" or $type == "popup") {
        $asHtml = true;
        if ($ini->variable("DebugSettings", "DebugToolbar") == 'enabled' && $ini->variable("SiteAccessSettings", "CheckValidity") !== 'true' && $asHtml == true && !$GLOBALS['eZRedirection']) {
            $tpl = eZTemplate::factory();
            $result = "<tr><td colspan='2'>" . $tpl->fetch('design:setup/debug_toolbar.tpl') . "</td></tr>";
            eZDebug::appendTopReport("Debug toolbar", $result);
        }
        eZDebug::appendBottomReport('Template Usage Statistics', eZTemplatesStatisticsReporter::generateStatistics($asHtml));
        eZDebug::setScriptStop($scriptStopTime);
        return eZDebug::printReport($type == "popup", $asHtml, true, false, true, true, $ini->variable("DebugSettings", "DisplayIncludedFiles") == 'enabled');
    }
    return null;
}
            } else {
                if ($stats !== '') {
                    $stats .= '<br />';
                }
            }
            $stats .= "<span class='debuginfo' title='Served directly from external source(not part of cache file)'>{$file}</span>";
        }
        foreach ($data['locale'] as $file) {
            if (!$file) {
                continue;
            } elseif ($stats !== '') {
                $stats .= '<br />';
            }
            if ($file instanceof ezjscServerRouter) {
                $stats .= $file->getName();
            } else {
                $stats .= $file;
            }
        }
        return $stats;
    }
    /**
     * Internal log of all generated files and source files, for use by {@link printDebugReport()}
     *
     * @var array
     */
    protected static $log = array();
}
// Auto append callback on eZDebug to be able to show report on packer use
eZDebug::appendBottomReport('ezjscPacker', array('ezjscPacker', 'printDebugReport'));