Does your script environment have a debugger?
scripting.com