From f5d205111c5e6481a6dd227288c3cecd92809f11 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 2 Apr 2012 21:15:08 +0200 Subject: [PATCH] move our panels to top, run only low-impact debug --- misc/plack/koha.psgi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/misc/plack/koha.psgi b/misc/plack/koha.psgi index 7c4d541077..eb0e88396d 100644 --- a/misc/plack/koha.psgi +++ b/misc/plack/koha.psgi @@ -29,11 +29,12 @@ my $app=Plack::App::CGIBin->new(root => $ENV{INTRANETDIR} || $ENV{OPACDIR}); builder { enable_if { $ENV{PLACK_DEBUG} } 'Debug', panels => [ - qw(Environment Response Timer Memory Persistant), -# [ 'Profiler::NYTProf', exclude => [qw(.*\.css .*\.png .*\.ico .*\.js .*\.gif)] ], + qw(Koha Persistant), + qw(Environment Response Timer Memory), + [ 'Profiler::NYTProf', exclude => [qw(.*\.css .*\.png .*\.ico .*\.js .*\.gif)] ], # [ 'DBITrace', level => 1 ], # a LOT of fine-graded SQL trace [ 'DBIProfile', profile => 2 ], - [ 'Devel::Size', for => $watch_size ], +# [ 'Devel::Size', for => $watch_size ], ]; enable_if { $ENV{PLACK_DEBUG} } 'StackTrace'; -- 2.20.1