in reply to Test::Script debug execution via scripts_run
You will not be able to step into a system() call, since it spawns a sub-process. What I would do in this case is figure out what command $cmd contains. If it is a perl command, you can run that under your debugger of choice. If it is not, you will have to do some more digging to figure out how Perl does get run.
In Section
Seekers of Perl Wisdom