title: In Applescript, how do you debug the Menus and Menu Items of GUI scripting?
body: <p>I often see all this crazy stuff with Apple scripting, involving telling menus and menu items, and UI elements and all that crazy soft of stuff to do things. I don't mind that it's kind of a crazy way to get things done - as long as it works - but my question is this: <b>How do you debug that stuff? I mean, how do you know what your options are?</b></p>
  
  <p>I have apple script editor and script debugger, but I'm not sure how to use them to see what the options are. I've tried searching with google but I haven't come up with anything.</p>
  
  <p>I do some web development so I'm used to using Firebug to examine the DOM of a web page, I just assume that there should be something easy and similar to help with Applescript.</p>
  
  <p>Thoughts?</p>