perl -d target.pl args
List/search source lines: Control script execution:
l [ln|sub] List source code c [ln|sub] Continue until ln|sub
- or . List previous/current line s [expr] single step [in expr]
v [ln] view around ln n [expr] next, steps over subs
f filename View source in file <CR/Enter> Repeat last n or s
/pattern
?pattern
Search forward
backward
r Return from subroutine
M Show module versions b [ln|event|sub] [cnd] Set breakpoint
Data Examination: B ln|* remove Breakpoint
p expr prints expr (uses script's current package). a [ln] cmd at(before) ln do cmd
x expr Evals expr in list context, dumps the result A ln | * remove actions at ln or all
m expr Evals expr in list context, lists methods. t [expr] Toggle trace [trace expr]
S [!]pat List subroutine names [not] matching pat w expr add a watch expression
V Pkge [Vars] List Variables in Pkge Vars can be ~pattern or !pattern. W expr | * remove a/all watch exprs
X Vars lists Varables as "V current_package [Vars]". L List break/watch/actions
y n [Vars] List lexicals in higher scope . Vars same as V. T stack trace
expr Execute perl code, also see:
s expr, n expr, t expr
![!] syscmd Run cmd in a subprocess
   q or ^D Quit
R Restart
Debugger commands
o […] Set debugger options
<[<]|{[{] [cmd] Do pre-prompt
>[>] [cmd] Do post-prompt
! [N|pat] Redo a previous command
H [-n] Display last n commands
= [a val] Define/list an alias
h [dbg_cmd] Get help on command
h h Complete help page
|[|]dbg_cmd Send output to pager
R Restart Pure-man-restart of debugger,
some of debugger state and command-line options are not preserved.
preserved: history, breakpoints and actions, options and -w, -I, -e.
For more help, type h cmd_letter, or run man perldebug for all docs.
opt ...    Set boolean option to true
opt?       Query options
opt=val [opt="val"] ... 

Set options.  Use quotes with  spaces in value.
    recallCommand, ShellBang  chars used to recall command or spawn shell
    pager                program for output of "|cmd"  default: more
    tkRunning            run Tk while prompting (with ReadLine)
    inhibit_exit         Don't exit Debugger when script exits
    ImmediateStop        Debugger should stop as early as possible.
    RemotePort           Remote hostname:port for remote debugging
    signalLevel warnLevel dieLevel    level of verbosity

  affect V, X, and x :
    arrayDepth, hashDepth  output only first N elements ('' for all)
    compactDump, veryCompact  change style of array and hash dump
    globprint                 output contents of globs/or not

    DumpDBFiles         dump arrays holding debugged files
    DumpPackages        dump symbol tables of packages
    DumpReused          dump contents of "reused" addresses
    quote, HighBit, undefoutput     style of string dump
    bareStringify         Do not output the overload-stringified value

  Other options include:
    printRet     outputing of return value after r command,
    frame        outputing messages on subroutine entry/exit.
    AutoTrace    outputing messages on possible breaking points.
    maxTraceLen  gives max length of evals/args listed in stack trace.
    ornaments    screen appearance of the command line.
    CreateTTY    bits control attempts to create a new TTY on events:
            1: on fork()    
            2: debugger is started inside debugger
            4: on startup
    options are initialized from Environment Variable $PERLDB_OPTS.
    Additional initialization options TTY, noTTY, ReadLine, NonStop, and RemotePort there 
    (or use R after set ).

Set $DB::finished = 0 to debug global destruction.

Options

CommandSet='580'
hashDepth= arrayDepth=

dumpDepth=
DumpDBFiles= DumpPackages= DumpReused=
compactDump= veryCompact=
quote=
HighBit=
undefPrint= globPrint=
PrintRet='1'
UsageOnly=
frame='0'
AutoTrace='1'
UsageOnly=
ReadLine='1'
NonStop='0'
LineInfo='/dev/tty'
maxTraceLen='400'
recallCommand='!'
ShellBang='!'
pager='|less'
tkRunning=
orments='us,ue,md,me'

siglLevel='1' warnLevel='1' dieLevel='1'

inhibit_exit='1'
ImmediateStop=
bareStringify=
TTY='/dev/tty'
noTTY=
CreateTTY='3'
RemotePort=
windowSize='10'
CreateTTY=3
windowSize=10