No dice

It doesn't give me an error. The only thing it does when I click the other option is the status bar says "Script Error!" for a brief second. Is there a way to get some sort of JS debugger?