NAME
CGI::Application::Plugin::DebugScreen - add Debug support to CGI::Application.
VERSION
This documentation refers to CGI::Application::Plugin::DebugScreen version 0.06
SYNOPSIS
use CGI::Application::Plugin::DebugScreen;
Only it. If "Internal Server Error" was generated by "run_mode"....
DESCRIPTION
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.
DEPENDENCIES
CGI::Application::Plugin::ViewCode
BUGS AND LIMITATIONS
There are no known bugs in this module. Please report problems to Atsushi Kobayashi (<nekokak@cpan.org>) Patches are welcome.
SEE ALSO
CGI::Application::Plugin::ViewCode
Thanks To
MATSUNO Tokuhiro (MATSUNO)
Koichi Taniguchi (TANIGUCHI)
Masahiro Nagano (KAZEBURO)
Tomoyuki Misonou
AUTHOR
Atsushi Kobayashi, <nekokak@cpan.org>
COPYRIGHT AND LICENSE
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.