Apache2::Camelcadedb - mod_perl2 integration for Devel::Camelcadedb
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.
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.
Mattia Barbon <mbarbon@cpan.org>
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.
To install Apache2::Camelcadedb, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache2::Camelcadedb
CPAN shell
perl -MCPAN -e shell install Apache2::Camelcadedb
For more information on module installation, please visit the detailed CPAN module installation guide.