CGI-Inspect

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

license:            perl
distribution_type:  module
configure_requires:
    ExtUtils::MakeMaker:  0
build_requires:
    ExtUtils::MakeMaker:  0
requires:
    Continuity:           1.01
    Devel::LexAlias:      0
    Devel::StackTrace::WithLexicals:  0.01
    PadWalker:            0
no_index:
    directory:
        - t
        - inc
generated_by:       ExtUtils::MakeMaker version 6.50
meta-spec:
    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
    version:  1.4

Makefile.PL  view on Meta::CPAN

use ExtUtils::MakeMaker;

WriteMakefile(
    NAME              => 'CGI::Inspect',
    VERSION_FROM      => 'lib/CGI/Inspect.pm',
    ABSTRACT_FROM     => 'lib/CGI/Inspect.pm',
    AUTHOR            => 'Brock Wilcox <awwaiid@thelackthereof.org>',
    LICENSE           => 'perl',
    PREREQ_PM         => {
      'Continuity'                                         => '1.01',
      'PadWalker'                                          => 0,
      'Devel::LexAlias'                                    => 0,
      'Devel::StackTrace::WithLexicals'                    => '0.01',
      # 'Coro::Generator'                                    => 0,
      # 'Method::Signatures'                                 => '20081008',
      # 'Moose'                                              => '0.58',
      # 'Moose::Exporter'                                    => 0,
      # 'Module::Refresh'                                    => 0,
    },
);

README  view on Meta::CPAN


DESCRIPTION
    This class is a drop-in web based inspector for plain CGI (or CGI-based)
    applications. Include the library, and then call inspect(). In your
    server error logs you'll see something like "Please connect to
    localhost:8080". When you do, you'll be greeted with an inspection UI
    which includes a stack trace, REPL, and other goodies.

    To work it's magic this modules uses Continuity, Devel::LexAlias,
    Devel::StackTrace::WithLexicals, and their prerequisites (such as
    PadWalker). Remember that you can always install such things locally for
    debugging -- no need to install them systemwide (in case you are afraid
    of the power that they provide).

EXPORTED SUBS
  inspect()
    This starts the Continuity server and inspector on the configured port
    (defaulting to 8080). You can pass it parameters which it will then pass
    on to CGI::Inspect->new. The most useful one is probably port:

      inspect( port => 12345 );

lib/CGI/Inspect.pm  view on Meta::CPAN


=head1 DESCRIPTION

This class is a drop-in web based inspector for plain CGI (or CGI-based)
applications. Include the library, and then call inspect(). In your server
error logs you'll see something like "Please connect to localhost:8080". When
you do, you'll be greeted with an inspection UI which includes a stack trace,
REPL, and other goodies.

To work it's magic this modules uses Continuity, Devel::LexAlias,
Devel::StackTrace::WithLexicals, and their prerequisites (such as PadWalker).
Remember that you can always install such things locally for debugging -- no
need to install them systemwide (in case you are afraid of the power that they
provide).

=cut

use strict;
use Continuity;
use Continuity::RequestCallbacks;
use base 'Exporter';



( run in 0.726 second using v1.01-cache-2.11-cpan-05444aca049 )