You install a debugger! If you have a programming IDE, it normally has some sort of debugger.
What you should *actually* do, is turn-off script debugging. I'm not sure how you do that in AOL, but in IE, its under 'tools' / 'internet options', on the 'advanced' tab - where you check the 'disalbe script debugging' option.