inject

Inject monitors via javascript

render

Proxy for monitors->render

stop

Proxy for monitors->stop

start

Proxy for monitors->start

_monitor

Load monitor

NAME

Mojo::Debugbar - A nice Debugbar that helps developers using Mojolicious framework

SYNOPSIS

use Mojo::Debugbar;

my $debugbar = Mojo::Debugbar->new(app => $app, config => {
    hide_empty  => 0,
    monitors    => [
        'Mojo::Debugbar::Monitor::Request',
        'Mojo::Debugbar::Monitor::DBIx',
        'Mojo::Debugbar::Monitor::Template',
        'Mojo::Debugbar::Monitor::ValidationTiny',
    ]
});

$debugbar->start;

...

$debugbar->stop;

DESCRIPTION

Mojo::Debugbar is a package that helps you collect some metrics for your Mojolicious app

ATTRIBUTES

Mojo::Debugbar inherits all attributes from Mojo::Base.

METHODS

Mojo::Debugbar inherits all methods from Mojo::Base and implements the following new ones.

inject

$debugbar->inject;

Injects the monitors via javascript.

render

$debugbar->start;

Renders the collected metrics as html.

start

$debugbar->start;

Starts all the monitors.

stop

$debugbar->stop;

Stops all the monitors.

SEE ALSO

Mojolicious, Mojolicious::Plugin::Debugbar, Mojolicious::Guides, https://mojolicious.org.