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

NAME

DB::Pluggable::Plugin::DataPrinter - Debugger plugin to use Data::Printer

SYNOPSIS

    $ cat ~/.perldb

    use DB::Pluggable;
    DB::Pluggable->run_with_config(\<<EOINI)
    [DataPrinter]
    EOINI

    $ perl -d foo.pl

    Loading DB routines from perl5db.pl version 1.28
    Editor support available.

    Enter h or `h h' for help, or `man perldebug' for more help.

    DB<1> c  (or s, or n, or whatever)
    ...
    DB<2> p %foo

DESCRIPTION

This debugger plugin exposes Data::Printer's p command to the debugger. Use the ~/.dataprinter file to control the output - see Data::Printer for details.

METHODS

initialize

Defines a debugger alias for the p command.