Skip to content

Commit

Permalink
Add LWP panel to debug toolbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Sep 12, 2017
1 parent 459851e commit 8174444
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app.psgi
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use Catalyst::Utils;
my $app = FixMyStreet::App->apply_default_middlewares(FixMyStreet::App->psgi_app);

builder {
enable 'Debug', panels => [ qw(Parameters Response DBIC::QueryLog CatalystLog Timer Memory FixMyStreet::Template) ]
enable 'Debug', panels => [ qw(Parameters Response DBIC::QueryLog CatalystLog Timer Memory FixMyStreet::Template LWP) ]
if Catalyst::Utils::env_value( 'FixMyStreet::App', 'DEBUG' );

$app;
Expand Down
1 change: 1 addition & 0 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ requires 'File::Find::Rule';
# Modules used for development
requires 'Plack::Middleware::Debug';
requires 'Plack::Middleware::Debug::DBIC::QueryLog';
requires 'Plack::Middleware::Debug::LWP';
requires 'Plack::Middleware::Debug::Template';
recommends 'Linux::Inotify2' if $^O eq 'linux';
recommends 'Mac::FSEvents' if $^O eq 'darwin';
Expand Down
21 changes: 21 additions & 0 deletions cpanfile.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -3350,6 +3350,16 @@ DISTRIBUTIONS
Mozilla::CA 20110101
Net::HTTPS 6
perl 5.008001
LWPx-Profile-0.2
pathname: C/CR/CREIN/LWPx-Profile-0.2.tar.gz
provides:
LWPx::Profile 0.2
requirements:
ExtUtils::MakeMaker 0
LWP::UserAgent 0
Time::HiRes 0
strict 0
warnings 0
Lexical-SealRequireHints-0.010
pathname: Z/ZE/ZEFRAM/Lexical-SealRequireHints-0.010.tar.gz
provides:
Expand Down Expand Up @@ -4853,6 +4863,17 @@ DISTRIBUTIONS
Test::Fatal 0
Test::More 0.96
perl 5.008008
Plack-Middleware-Debug-LWP-0.3
pathname: C/CR/CREIN/Plack-Middleware-Debug-LWP-0.3.tar.gz
provides:
Plack::Middleware::Debug::LWP 0.3
requirements:
ExtUtils::MakeMaker 0
LWPx::Profile 0
Plack::Middleware::Debug::Base 0
parent 0
strict 0
warnings 0
Plack-Middleware-Debug-Template-1.00
pathname: M/MY/MYSOCIETY/Plack-Middleware-Debug-Template-1.00.tar.gz
provides:
Expand Down

0 comments on commit 8174444

Please sign in to comment.