Script Debugging
From SphereWiki
So you've got a problem with a script and you don't know where to turn? Or everyone you've spoken to doesn't have the answers you seek? You're about to start pulling out your hair, you feel alone and lost, and no one can seem to help you. Well you're about to help yourself! Let's talk about debugging your script
We'll go through some examples here to explain how one could get helpful information that will lead them to their solutions