Jan Ploski - 2011-08-05

I suspect that by running exec you are closing the TCP connections that the debugged process has to EPIC. I don't think there is a sensible workaround for that, and probably you wouldn't have much luck using Perl's command-line debugger (perl -d) either.