getJavascriptRenderer() ->setBaseUrl('../src/DebugBar/Resources') ->setEnableJqueryNoConflict(false); // // create a writable profiles folder in the demo directory to uncomment the following lines // // $debugbar->setStorage(new DebugBar\Storage\FileStorage(__DIR__ . '/profiles')); // $debugbar->setStorage(new DebugBar\Storage\RedisStorage(new Predis\Client())); // $debugbarRenderer->setOpenHandlerUrl('open.php'); function render_demo_page(Closure $callback = null) { global $debugbarRenderer; ?> renderHead() ?>

DebugBar Demo

DebugBar at the bottom of the page

render(); ?>