http://www.perlmonks.org?node_id=726203


in reply to Re^2: Remote perl debugging via emacs
in thread Remote perl debugging via emacs

I guess "remote" was the wrong word. I only wanted to run the perl debugger within gdb when the perl process was running in a different window. I guess most of the time that would imply that the perl process is on another machine, but in my case Perl is embedded within an application that is using stdout and the terminal for its own purposes.

So yes, it only makes sense when the two share a filesystem. So you'd probably want NFS or something.