



hi
I am trying to get working PERL remote debugging on my RHEL4. I hade created a directory for my perl scripts as following: /home/perl/utv and in this directori is a simple perl script test_01.pl:
#!/usr/bin/perl -w
print "Hallo World!";
Then I downloaded activestates Komodo 4.1 Perl remote Debugging for linux and unpacked this to /home/perl/Komodo-PerlRemoteDebugging-4.1.1
Then I configured environment variables as following:
[root@trfmlmftp utv]# export PERL5LIB=/home/perl/Komodo-PerlRemoteDebugging-4.1.1/
[root@trfmlmftp utv]# export PERLDB_OPTS="RemotePort=192.168.100.1:9000"
[root@trfmlmftp utv]# export DBGP_IDEKEY="perl"
The I configured my Komodo IDE 4.1.1 as following:
Server type: SCP
Hostname: ip address
port:22
user name perl (configured user of RHEL4 with all needed access)
password
Default path: /home/perl/utv
As the last configuration step I started Listen for debugging connection in Komodo IDE.
Then I run test_01.pl script as following:
perl -d /home/perl/utv/test_01.pl
and I get back this message:
Unable to connect to remote host: 192.168.116.10:9000 (Bad file descriptor)
Running program outside the debugger...
I must to tell you that I also use Komodo IDE together with XDEBUG remote debugging for PHP and it works nice also through port 9000. I am connected to RHEL4 by VPN tunell. The Totaly connection number never increased with perl debugging, only when I debugg PHP.
Can anybode help me please?
Thanks for any sugestions.
/ Jaroslav
http://community.activestate.com/forum-topic/perl-remote-debugging