The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache2::Camelcadedb - mod_perl2 integration for Devel::Camelcadedb

SYNOPSIS

In mod_perl2 startup code:

    use Apache2::Camelcadedb remote_host => 'localhost:12345';

In apache.conf

    # they don't have to be PostReadRequest and Cleanup, as long
    # as they are early and late in the request lifecycle
    PerlPostReadRequestHandler Apache2::Camelcadedb::start_debug_handler
    PerlCleanupHandler Apache2::Camelcadedb::stop_debug_handler

You will also need to configure remote debugging in IntelliJ as described in the Debugging section of the Camelcade plugin wiki.

DESCRIPTION

This module provides a thin integration layer on top of Devel::Camelcadedb.

At the beginning of each request, the middleware connects to IntelliJ to allow remote debugging. If IntelliJ is not running or not set up for debugging, execution continues as normal.

AUTHOR

Mattia Barbon <mbarbon@cpan.org>

LICENSE

Copyright (c) 2015-2016 Mattia Barbon. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.