Popcorn Dave has asked for the wisdom of the Perl Monks concerning the following question:
I came across this code from Wicked Cool Perl Scripts that allows you to debug a CGI script using ptkdb , however the script is for Unix/Linux as it's talking about using an X11 server.
#!/usr/bin/perl -T # # Allows you to debug a script by starting the # interactive GUI debugger on your X screen. # use strict; use warnings; $ENV{DISPLAY} = ":0.0"; # Set the name of the display $ENV{PATH}="/bin:/usr/bin:/usr/X11R6/bin:"; system("/usr/bin/perl -T -d:ptkdb hello.pl");
Can anyone help modify this for use on a Windows system? Is it even possible? I like using ptkdb and being able to use it for tracing CGI would be great.
TIA!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Debugging CGI scripts using ptkdb under Windows
by jdtoronto (Prior) on Aug 14, 2006 at 18:32 UTC | |
by Popcorn Dave (Abbot) on Aug 14, 2006 at 22:57 UTC | |
|
Re: Debugging CGI scripts using ptkdb under Windows
by Anonymous Monk on Aug 15, 2006 at 09:48 UTC |