-
Notifications
You must be signed in to change notification settings - Fork 23
Home
biakaveron edited this page Feb 18, 2011
·
4 revisions
Based on Kohana Debug Toolbar for Kohana v2.3 (by Aaron Forsander). It displays useful benchmarks and application data, such as DB metrics and Global arrays.
- The “logs” menu has been removed. It seems impossible to get current logs without modifying system classes.
- “vars and config” section now contains vars only. I think it is useless to read all configuration files.
- “modules” panel was added.
- Configure module (as here described).
- Enable it via Kohana::modules().
- There is no events in Ko3, so you need to render toolbar menually. Just place Debugtoolbar::render() somewhere in the end of bootstrap.php (for example after Request’s execute() call).
Here is a usage code for 3.1:
// in index.php
Request::factory()
->execute();
Debugtoolbar::render();
echo Request::initial()->response()
->send_headers()
->body();
firephp (currently disabled).