Devel::Camelcadedb - perl side of the perl debugger for IntelliJ IDEA and other JetBrains IDE
This module should be instaleld for debugging using Camelcade plugin for IntelliJ IDEA
Debugger has an eval-based template engines support, but it requires some code from the engine side. This allows to set breakpoints in the template file.
To make this work, template engine should invoke debugger's hook immediately after evaling compiled template code, providing template source file path and reference to the hash of lines map template_line => eval_line. Example:
template_line => eval_line
eval($compiled_template); { no strict 'refs'; my $glob = *{'::DB::template_handler'}; if ($glob && *{$glob}{CODE}) { *{$glob}{CODE}->($filepath, $lines_map); } }
2016 Alexandr Evstigneev hurricup@gmail.com
To install Devel::Camelcadedb, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Camelcadedb
CPAN shell
perl -MCPAN -e shell install Devel::Camelcadedb
For more information on module installation, please visit the detailed CPAN module installation guide.