Sledge::Plugin::DebugScreen - show the debug screen if crashed
package Your::Pages; use Sledge::Plugin::DebugScreen; sub debug_level { return $ENV{'DEBUG_MODE'} ? 1 : 0; }
This plugin shows the debug screen if crashed, like Catalyst. The debug screen is only showing debug mode.
Screen image: http://image.blog.livedoor.jp/nipotan/imgs/a/2/a2b67309.jpg
MATSUNO Tokuhiro <tokuhirom@gmail.com> Koichi Taniguchi <taniguchi@livedoor.jp>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Jiro Nishiguchi.
more tests.
Template, Bundle::Sledge, Devel::StackTrace
Catalyst::Plugin::StackTrace
To install Sledge::Exception::StackTrace, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sledge::Exception::StackTrace
CPAN shell
perl -MCPAN -e shell install Sledge::Exception::StackTrace
For more information on module installation, please visit the detailed CPAN module installation guide.