Debugging your code

Philip Greenspun's Homepage : Philip Greenspun's Homepage Discussion Forums : 6916 : One Thread
Notify me of new responses
Hey,

It seems that not everyone knows about ClientDebug, which is an
incredibly helpful tool for debugging your code. What it does is
actually display an error message instead of the dumb "Server Error"
message. To enable ClientDebug, go to https://<servername>/NS/Admin.
Click on TCL Scripting, then Enable/Disable Client Debugging. Add your
IP address to the list. That's it. The changes will remain in place
until the next time you restart your server.

Questions? Post to the bboard :).

Have fun on the problem set,
Richard

-- Ali Taalebi, November 6, 1999

Answers

And to avoid the need for enabling the ClientDebugging tool anytime you restart your server, you can add the line:

ClientDebug=<your-IP-address>

for any desired IP-address to the

[ns/server/student49/tcl] section of

your /home/nsadmin/<yourserver.ini> file.

This is very useful for the IP-addresses that you routinely use for logging into your webserver.

-- Ali Taalebi, November 6, 1999


Has anyone got this feature to work in AOLserver 3.0? The flag is not documented at

http://www.aolserver.com/server/docs/3.0/html/con-ch3.htm#155138

Cheers, Martin

-- Martin Elsman, February 15, 2000