Open Melchester opened 5 years ago
@Melchester: When you launch a remote debug session, the Perl debug extension will listen on a TCP port and expect the Perl debugger to connect to it. You then launch PERLDB_OPTS="RemotePort=host:port" perl -d example.pl
. The hard part is enabling such a TCP connection. That might involve SSH port forwarding, changing router and firewall settings, and/or similar things.
Apologies for wasting your time with this. But I was hoping you could point me at an example launch.json for remote debugging. I have my websites on DreamHost so I'm wondering if remote debugging is even possible in that environment.