@april #Perl is spoiled for choice when it comes to interactive #debuggers. I wrote a two-part series about the built-in one:
• https://phoenixtrap.com/2021/03/09/perl-debugger-superpower/
• https://phoenixtrap.com/2021/07/06/perl-debugger-superpowers-part-2/
But you have alternatives:
• https://metacpan.org/pod/Devel::ebug
• https://metacpan.org/pod/Devel::Trepan
• https://metacpan.org/pod/Devel::hdb
And #REPLs for various execution models:
• https://metacpan.org/pod/Reply
• https://metacpan.org/pod/Carp::REPL
• https://metacpan.org/pod/Carp::Reply
• https://metacpan.org/dist/Eval-WithLexicals/view/bin/tinyrepl
• https://metacpan.org/pod/Plack::Middleware::REPL
• https://metacpan.org/pod/CatalystX::REPL