Keep It Simple, Stupid | |
PerlMonks |
CGI equivalent of Apache::DB?by gurbo (Sexton) |
on Jun 02, 2010 at 16:11 UTC ( [id://842788]=perlquestion: print w/replies, xml ) | Need Help?? |
gurbo has asked for the wisdom of the Perl Monks concerning the following question: I've found recently the Apache::DB module. You make a normal request from your browser and it makes the program enter the debugger on the handler function (you have to pass the -X option to the Apache server so it runs on the foreground). I though this was great. Yes, you can debug by printing log messages but the perl debugger provides you a lot more. Is there anything like this when you run a Perl script on Apache via CGI? I know you can print anything you want, use Data::Dumper, maybe CGI::Debug, even run the script from the command line (a real PITA) but what gives Apache::DB is far, far better. You're inside the debugger with everything set up and the debugger prompt there. Thanks in advancegurbo
Back to
Seekers of Perl Wisdom
|
|