The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

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

SYNOPSIS

$ cat ~/.perldb
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.