I am trying to run a test under a debugger like:
perl -d $(which prove) t/file.t
But this does not affect, because each test runs as a separate task.
I found the --exec , but when I provided it, I lost any option from the .proverc file and the command line
prove -Ithis/is/lost --exec 'perl -d' t/file.t
How to run tests with prove with additional parameters and not lose those parameters that were provided in the .proverc file and command line?
I do not want to repeat myself and write:
prove --exec 'perl -d -Ilib -Ilocal/lib/perl5' t/file.t
So far, -Ilib and -Ilocal/lib/perl5 are in the .proverc file
source share