Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Example Remote Setup? #96

Open
Melchester opened this issue Apr 17, 2019 · 1 comment
Open

Example Remote Setup? #96

Melchester opened this issue Apr 17, 2019 · 1 comment

Comments

@Melchester
Copy link

Melchester commented Apr 17, 2019

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.

@hoehrmann
Copy link
Collaborator

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants