Skip to content
biakaveron edited this page Feb 18, 2011 · 4 revisions

About

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.

Changes

  • 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.

Usage

  1. Configure module (as here described).
  2. Enable it via Kohana::modules().
  3. 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();

TODO

firephp (currently disabled).

Clone this wiki locally