views:

116

answers:

4

Is there a good tool to debug Perl-based web applications? Output to stderr or stdout don't count as tool.

+2  A: 

The Komodo IDE supports remote debugging for just this sort of thing.

Brian Agnew
+8  A: 

Yup, I've got the perfect tool for you.

CGI::Inspect lets you inspect and debug a running Perl web application.

Read more about the module on the developer's website.

Or check out the slides from a presentation about it at YAPC 2009.

Anirvan
CGI::Inspect is awesome. It drops you into a REPL (read, eval, print, loop) where you can examine the current state of the app, modify the state, and they start it running again.
Chas. Owens
Seems this is helpful, thanks for your answer.
piotr
+2  A: 

The EPIC plugin for Eclipse will also let you do this.

innaM
+1  A: 

In CGI, you can

use CGI::Carp qw(fatalsToBrowser);

It will display any fatal message in your browser.

With Mason, leave the default error option, which outputs the call stack in your browser.

jeje
Not so powerful
piotr