Location of log files and remote debugging question

62 views
Skip to first unread message

nma...@athenahealth.com

unread,
Aug 13, 2017, 10:06:11 PM8/13/17
to Camelcade - Perl plugin for IntelliJ IDEA
Hi,
I am very excited about installing the plugin and using it for perl development. Thanks again for your work on it.

I have the following setup:
Webstorm 2017.2, files downloaded to the local machine via SFTP. I've created a 'Perl Remote Debugging' configurations with 'Perl process connects to the IDE', Server host: my local machine's IP address, Server port: the default assigned by WS
Dev Server, from which I am running perl -d:Camelcadedb. PERL5_DEBUG_ROLE: client, PERL5_DEBUG_HOST: my local machine's IP address, PERL5_DEBUG_PORT: my local machine's port.

When i run a simple perl script using the Debug configuration, I get the message ;Listening on _my_machine_ip_:_my_machine_port_
and when i run perl -d:Camelcadedb _my_script_ on the dev machine, i get 'Connecting to the IDE from process x at _my_machine_ip_:_my_machine_port_
I expected the Intellij debugger to enable the step through buttons, but the message 'Connected to the IDE repeats without success. 

I also tried to set the Intellij server host and port to the dev server's host and port, but it didn't help. Am I mis-configuring the client-server, or is it a connectivity issue from the dev machine? Where could i find the logs to troubleshoot?

Thanks for your help,
Noga

nma...@athenahealth.com

unread,
Aug 14, 2017, 9:52:55 PM8/14/17
to Camelcade - Perl plugin for IntelliJ IDEA
I would still appreciate more info about the configuration of the log files, but I was able to connect the dev machine to my local machine for debugging. Initially i was using the IP address in ifconfig, but i followed this post: https://stackoverflow.com/questions/6313929/how-do-i-open-port-22-in-os-x-10-6-7 to enable and identify the IP address for external connections.
Reply all
Reply to author
Forward
0 new messages