Add debug support to cgi::application.
This documentation refers to CGI::Application::Plugin::DebugScreen version 1.00
use CGI::Application::Plugin::DebugScreen;
That is it! The fun starts when a run mode calls \*(C`die\*(C'.
This plug-in adds stack tracing support to CGI::Application similar in style to the Catalyst debug mode. In the event of the module calling \*(C`die\*(C', a stack trace of the error is displayed. At each level of the stack links to the code and documentation are provided.
The stack trace functionality is deactivated unless the $ENV{\s-1CGI_APP_DEBUG\s0} environment variable is set. Therefore when your code is released, this plug-in does not need to be removed.
The links links to code and documentation are implemented using CGI::Application::Plugin::ViewCode, which will be loaded automatically if available. However these links are not supported in conjunction with CGI::Application::Dispatch.
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 (<[email protected]>) Patches are welcome.
CGI::Application::Plugin::ViewCode
Sledge::Plugin::DebugScreen
CGI::Carp::DebugScreen
Catalyst::Plugin::StackTrace
\s-1MATSUNO\s0 Tokuhiro (\s-1MATSUNO\s0)
Koichi Taniguchi (\s-1TANIGUCHI\s0)
Masahiro Nagano (\s-1KAZEBURO\s0)
Tomoyuki Misonou
Atsushi Kobayashi, <[email protected]>
Copyright (C) 2006 by Atsushi Kobayashi (<[email protected]>). 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.