$ gdb /usr/bin/perl ... .. (gdb) run /path/to/cgi-bin/script.cgi