Perl5webdb is a software tool designed specifically for debugging and testing CGI programs written in Perl.
One of the standout features of Perl5webdb is just how simple it is to install. All you need to do is untar the archive and run the configuration script. After restarting your apache server, you're ready to go.
Once you've opened the debugger window, your HTTP requests will be automatically trapped and attached to the debugger, making it easy to quickly diagnose any issues. When you're finished debugging, simply close the window and your scripts will run as normal.
Here are some of the key features of Perl5webdb:
- CGI Debugger with GUI
- Runs on your Web Browser
- Easy to Install
- Automatic (dis)activation of the debugger
To install Perl5webdb, simply run the following commands:
% tar xzf perl5webdb-0.01.tar.gz
% cd perl5webdb-0.01
% bin/makeconf.pl `pwd` $port $user $pass >> /$apache_conf_dir/httpd.conf
% apachectl restart
When running these commands, make sure to supply a TCP port number for $port, as well as a username and password for $user and $pass that you'll use to access the debugger. It's also recommended that you install the PadWalker module from CPAN, as Perl5webdb relies on it to inspect variables.
To use Perl5webdb, simply access
In terms of requirements, Perl5webdb requires both Apache and Perl to run properly. As for what's new in this release, version 0.01 adds support for debugging within BEGIN blocks and properly displays STDERR outputs. If you're looking for a powerful and user-friendly CGI debugger for Perl, Perl5webdb is definitely worth a look.
Version 0.02: N/A