CGI::Application::Plugin::DebugScreen(3pm)

CGI::Application::Plugin::DebugScreen3pm

Add debug support to cgi::application.

Usage

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

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

Version

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

Overview

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.

Dependencies

strict

warnings

CGI::Application

HTML::Template

Devel::StackTrace

IO::File

CGI::Application::Plugin::ViewCode

UNIVERSAL::require

Bugs and limitations

There are no known bugs in this module. Please report problems to Atsushi Kobayashi (<[email protected]>) Patches are welcome.

Thanks To

MATSUNO Tokuhiro (MATSUNO)

Koichi Taniguchi (TANIGUCHI)

Masahiro Nagano (KAZEBURO)

Tomoyuki Misonou

Releases

10 releases since Debian 4.0 (Etch); the text changed 6 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11–13

Author

Atsushi Kobayashi, <[email protected]>

From libcgi-application-plugin-debugscreen-perl 1.00-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.