########## Debugging ########## Pdb basics ========== * s - single step * n - next instruction * - repeat previous command * c () - continue (to line) * p $var - print * b - set breakpoint * b - conditional breakpoint * L - list all breakpoints * B - delete breakpoint Run pdb in emacs ================ * esc+x perldb Enable debugger at runtime ========================== * cpan Enbugger .. code-block:: perl require Enbugger; Enbugger->stop; REPL on fatal errors ==================== * cpan Carp::REPL