Dancer::Plugin::DebugToolbar - A debugging toolbar for Dancer web applications
Add the plugin to your web application:
And enable it in the configuration file, preferably in the development environment (
plugins: DebugToolbar: enable: 1
Dancer::Plugin::DebugToolbar allows you to add a debugging toolbar to your Dancer web application.
To enable and configure the plugin, add its settings to the Dancer configuration file, under
plugins: DebugToolbar: enable: 1 ...
You can do this either in the main configuration file (
config.yml), or in the configuration file for a specific environment (under
environments/). Normally, you'll want to enable the toolbar for the development enviroment (
The available configuration settings are described below.
This setting enables the debugging toolbar.
show setting lets you choose which information will be provided by the debugging toolbar.
show: database: 1 routes: 1
The available options are:
Data inspection screen. Allows you to inspect the
vars data structures.
Database information screen. Shows DBI trace and queries log.
Templates screen. Displays the names of rendered templates and lets you inspect the data that was passed to them.
Routes screen. Shows all the routes defined in the application, and indicates the matching routes.
show setting is not defined, the
routes screens are displayed by default.
<odyniec at cpan.org>
Please report any bugs or feature requests to
bug-dancer-plugin-debugtoolbar at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dancer-Plugin-DebugToolbar. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Uses icons from the Fugue Icons set (http://p.yusukekamiyamane.com/).
Copyright 2011 Michal Wojciechowski.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.