[Pdx-pm] perl -d

Austin Schutz tex at off.org
Thu Jun 26 20:15:11 CDT 2003


On Thu, Jun 26, 2003 at 04:24:28PM -0700, Joshua Keroes wrote:
> How do I get the perl debugger to open up in a different terminal
> window? Presuming that I'm on pts/1 and I want to open the debugger on
> pts/2, I think it should be as simple as setting the TTY PERLDB_OPTS
> variable like so: 
> 
> 	PERLDB_OPTS='TTY=pts/2' perl -d prog.pl
> 
> 
> That doesn't do anything differently than just `perl -d prog.pl`.
> Help?
> 

	You might try using kibitz or screen. You'd have to look at the source
and/or try running it under strace (or equiv) to figure out why it's not
doing what you expect otherwise.
	Also, you presumably tried TTY=/dev/pts/2?

	Austin



More information about the Pdx-pm-list mailing list