summary refs log tree commit diff
path: root/lib/Dancer/Debug.pm
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-20 14:13:11 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-20 14:13:11 +0200
commite78b9aad4a9dd07f7a664ce722f5e7bbf1b89498 (patch)
treeefd5cc96a30634bb8659895ee91ebc7018e6f39e /lib/Dancer/Debug.pm
parentlog in table (diff)
downloaddancer-debug-e78b9aad4a9dd07f7a664ce722f5e7bbf1b89498.tar.gz
add abstract
Diffstat (limited to '')
-rw-r--r--lib/Dancer/Debug.pm37
1 files changed, 14 insertions, 23 deletions
diff --git a/lib/Dancer/Debug.pm b/lib/Dancer/Debug.pm
index 4d0f7f0..aa3a912 100644
--- a/lib/Dancer/Debug.pm
+++ b/lib/Dancer/Debug.pm
@@ -1,23 +1,27 @@
 package Dancer::Debug;
 
+# ABSTRACT: Extend Plack::Middleware::Debug with some specific panels for Dancer
+
 use strict;
 use warnings;
 our $VERSION = '0.01';
 
 1;
-__END__
 
-=head1 NAME
+=head1 SYNOPSIS
 
-Dancer::Debug - Extension for Dancer specific panel to L<Plack::Middleware::Debug>
+You can activate the panels in your development configuration file:
 
-=head1 SYNOPSIS
+    plack_middlewares:
+      Debug:
+        - panels
+        -
+          - Parameters
+          - Dancer::Version
+          - Dancer::Settings
+          - Dancer::Logger
 
-    my $handler = sub {
-        my $env     = shift;
-        my $request = Dancer::Request->new($env);
-        Dancer->dance($request);
-    };
+or in your app.psgi:
 
     $handler = builder {
         enable "Debug",
@@ -27,17 +31,4 @@ Dancer::Debug - Extension for Dancer specific panel to L<Plack::Middleware::Debu
 
 =head1 DESCRIPTION
 
-Dancer::Debug is
-
-=head1 AUTHOR
-
-franck cuny E<lt>franck@lumberjaph.netE<gt>
-
-=head1 SEE ALSO
-
-=head1 LICENSE
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
+Dancer::Debug extends L<Plack::Middleware::Debug> with some specific panels for Dancer.