PERL5DB [unset]
PERLDB_OPTS=RemotePort=127.0.0.1:2000
this will start the IDE.
After fiddling:
PERL5DB=BEGIN {require 'perl5db.pl';}
PERLDB_OPTS [unset]
What makes (half of) the difference is PERLDB_OPTS: if it is
set, the GUI starts no matter what PERL5DB is set to...
<slaps loudly on forehead>: OK, so now I know. AS actually does two things:
- Hooks into the RemotePort option of perl5b.pl to direct
the debugger to the GUI but also....
- sets a registry key (HKLM\Software\perl\PERL5DB) to its own version of perldb (perl silently honors these keys as if they were environment variables).
- So restoring the original behavior one has to both unset PERLDBOPTS *and* PERL5DB
Quite tricky (perhaps too much so...).
Thanks for pointing in me in the right direction - now the smoke has cleared and the mirrors are broken :-)
Cheers,
alf
You can't have everything: where would you put it? |