Dibi can log queries and dump variables to the Tracy.
'sqlite3', 'database' => 'data/sample.s3db', 'profiler' => array( 'run' => TRUE, ), )); // add panel to debug bar $panel = new Dibi\Bridges\Tracy\Panel; $panel->register($connection); // query will be logged dibi::query('SELECT 123'); // result set will be dumped Tracy\Debugger::barDump(dibi::fetchAll('SELECT * FROM customers WHERE customer_id < ?', 38), '[customers]');