Catalyst::Action::Firebug - Catalyst action for embedding Firebug Lite tag


Catalyst-Action-Firebug documentation  | view source Contained in the Catalyst-Action-Firebug distribution.

Index


NAME

Top

Catalyst::Action::Firebug - Catalyst action for embedding Firebug Lite tag

SYNOPSIS

Top

    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');
    }

DESCRIPTION

Top

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.

CONFIGURATION

Top

    $c->config->{firebug}{path} = '/path/to/firebug.js';

KEYS

path

URL path of firebug.js. The default value is '/js/firebug/firebug.js'.

expand_panel

If it's true value, firebug panel is opened when page loading.

And you can use FIREBUG_EXPAND env instead of this key.

SEE ALSO

Top

Firebug, http://getfirebug.com/

Firebug Lite, http://getfirebug.com/lite.html

EXTENDED METHODS

Top

execute

AUTHOR

Top

Daisuke Murase <typester@cpan.org>

COPYRIGHT

Top


Catalyst-Action-Firebug documentation  | view source Contained in the Catalyst-Action-Firebug distribution.