CGI::Application::Plugin::DebugScreen - add Debug support to CGI::Application.
This documentation refers to CGI::Application::Plugin::DebugScreen version 0.06
use CGI::Application::Plugin::DebugScreen;
Only it. If "Internal Server Error" was generated by "run_mode"....
This plug-in add Debug support to CGI::Application. This plug-in like Catalyst debug mode.
DebugScreen is done when $ENV{CGI_APP_DEBUG} is set, and DebugScreen is not done when not setting it. When your code is released, this plug-in need not be removed.
When 'die' is generated by 'run_mode', this plug-in outputs the stack trace by error_mode(). As for this plug-in, error_mode() is overwrited in error callback. The error cannot be caught excluding run_mode.
This uses CGI::Application::Plugin::ViewCode if a state that CGI::Application::Plugin::ViewCode can be used or used. But CGI::Application::Dispatch is used, this not uses CGI::Application::Plugin::ViewCode.
When CGI::Application::Plugin::ViewCode can be used, Title, Package, File, code and line are links to CGI::Application::Plugin::ViewCode's view_code mode. line jumps to the specified line. And pod are links to CGI::Application::Plugin::ViewCode's view_pod mode. The code of the displayed is links to CGI::Application::Plugin::ViewCode's view_code mode.
strict
warnings
CGI::Application
HTML::Template
Devel::StackTrace
IO::File
CGI::Application::Plugin::ViewCode
UNIVERSAL::require
There are no known bugs in this module. Please report problems to Atsushi Kobayashi (<nekokak@cpan.org>) Patches are welcome.
Sledge::Plugin::DebugScreen
CGI::Carp::DebugScreen
Catalyst::Plugin::StackTrace
MATSUNO Tokuhiro (MATSUNO)
Koichi Taniguchi (TANIGUCHI)
Masahiro Nagano (KAZEBURO)
Tomoyuki Misonou
Atsushi Kobayashi, <nekokak@cpan.org>
Copyright (C) 2006 by Atsushi Kobayashi (<nekokak@cpan.org>). All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install CGI::Application::Plugin::DebugScreen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Application::Plugin::DebugScreen
CPAN shell
perl -MCPAN -e shell install CGI::Application::Plugin::DebugScreen
For more information on module installation, please visit the detailed CPAN module installation guide.