export PERLDB_OPTS='TTY=/dev/pts/2' perl -d ./myprg.pl