Install libdevel-trace-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdevel-trace-perl
Description:
Perl module to aid debugging by printing out each line before execution
Devel::Trace does for Perl what set -x does for shell scripts: Run your program with 'perl -d:Trace program', and it will print each line to standard error just before it is executed.
Homepage: http://search.cpan.org/dist/Devel-Trace/
Version: 0.12-1
Section: universe/perl