Catalyst::Action::Firebug - Catalyst action for embedding Firebug Lite tag
sub end : ActionClass('Firebug') { my ($self, $c) = @_; $c->forward( $c->view('TT') ); } # or combination with Action::RenderView sub render : ActionClass('RenderView') {} sub end : ActionClass('Firebug') { my ($self, $c) = @_; $c->forward('render'); }
Catalyst action for Firebug Lite.
If your app running on debug mode or $ENV{FIREBUG_DEBUG} is set, this action insert firebug lite tags to its output automaticaly.
$c->config->{firebug}{path} = '/path/to/firebug.js';
URL path of firebug.js. The default value is '/js/firebug/firebug.js'.
If it's true value, firebug panel is opened when page loading.
And you can use FIREBUG_EXPAND env instead of this key.
Firebug, http://getfirebug.com/
Firebug Lite, http://getfirebug.com/lite.html
Daisuke Murase <typester@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install Catalyst::Action::Firebug, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Action::Firebug
CPAN shell
perl -MCPAN -e shell install Catalyst::Action::Firebug
For more information on module installation, please visit the detailed CPAN module installation guide.