in reply to Re: CGI PERL Remote Debugging
in thread CGI PERL Remote Debugging

Thanks for the Response Thomas.

Above steps did not helped for my actual question. I need to debug the PERL CGI code from Windows(client) using IDE.

The source code exists and runs in a Linux server. Now I use to connect Linux server using Putty and debugging the PERL code. However, to ease the job, it would be fine if we have a Komodo kind of IDE but free or open, which has the ability to do remote debugging.

Note: The linux server has limited access to the developer, so installing VNC or X11 in the server is not possible as of now.

Replies are listed 'Best First'.
Re^3: CGI PERL Remote Debugging
by Anonymous Monk on Dec 28, 2011 at 15:42 UTC

    Like thomas895 said, all you need is ssh2 access, no X11 required. Once you connect, you change the shebang for the CGI to <C>#!/usr/bin/perl -d and you set perl5db.pl RemotePort option to localhost:666119 ...

    http://docs.activestate.com/komodo/4.4/debugperl.html# Debugging Perl

    http://community.activestate.com/forum/help-interactive-debugging-windows# Help: Interactive debugging on Windows

    http://plosquare.blogspot.com/2009/04/debugging-modperl-applications-with.html# Debugging mod_perl with EPIC

    http://www252.pair.com/comdog/mastering_perl/Chapters/04.debugger.html# Mastering Perl: Debugging Perl

    http://wiki.eprints.org/w/EclipseEpicPerlDebug

    Enabling GUI Debugging under Mod_Perl

    http://books.google.com/books?id=UDUmoHOUXiMC&pg=PA142&lpg=PA142&dq=perl5db+Remote+Port+tutorial&source=bl&ots=_7fyyfZ2VK&sig=IBHqYwf7yXF0JKKx0Oh2VsZF9v0&hl=en

    Devel::ebug, ebug_http, ebug-client, ebug-server