in reply to Module implementing modified comment-style debugging.
If you are debugging a cgi script, why not use something in the url to set your debug level.
For example, if your normal call is
then you set debug level to 1 withhttp://website/path/bla.html
orhttp://website/path/bla.html?d=1
orhttp://website/1/path/bla.html
With a suitable apache configuration and an init routine to get the number out of the URL and a debug routine like oko1 or apl proposed you could avoid editing your script to turn debugging on or off.http://website/path/bla.html1
|
|---|