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


In reply to Re^3: CGI PERL Remote Debugging by Anonymous Monk
in thread CGI PERL Remote Debugging by ujanba01

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.