logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CGI::Application::Plugin::DebugScreen - add Debug support to CGI::Application.

Author

       Atsushi Kobayashi, <nekokak@cpan.org>

Bugs And Limitations

       There are no known bugs in this module.  Please report problems to Atsushi Kobayashi (<nekokak@cpan.org>)
       Patches are welcome.

Dependencies

       strict

       warnings

       CGI::Application

       HTML::Template

       Devel::StackTrace

       IO::File

       CGI::Application::Plugin::ViewCode

       UNIVERSAL::require

Description

       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 "die", 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{CGI_APP_DEBUG} 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.

Name

       CGI::Application::Plugin::DebugScreen - add Debug support to CGI::Application.

See Also

       CGI::Application::Plugin::ViewCode

       Sledge::Plugin::DebugScreen

       CGI::Carp::DebugScreen

       Catalyst::Plugin::StackTrace

Synopsis

         use CGI::Application::Plugin::DebugScreen;

       That is it! The fun starts when a run mode calls "die".

Thanks To

       MATSUNO Tokuhiro (MATSUNO)

       Koichi Taniguchi (TANIGUCHI)

       Masahiro Nagano (KAZEBURO)

       Tomoyuki Misonou

Version

       This documentation refers to CGI::Application::Plugin::DebugScreen version 1.00

See Also