The debugger is loaded and started in a process that wasn't compiled with -d. Neat, eh?
for ( 1 .. 100 ) {
if ( $_ == 50 ) {
eval 'use Enbugger'
}
}
if ( my $e = $@ ) {
require Enbugger;
$DB::single = 2;
}
local $ENV{PERLDB_OPTS} = 'RemotePort=localhost:7000';
require Enbugger;
$DB::single 2;