I have a disturbingly difficult JavaScript bug that I am trying to fix and needed a good introduction into using Venkman, the Javascript debugger. Here is a wonderful tutorial on just that subject. It works as a pretty good general introduction to using program debuggers. If you are not familiar with using debuggers in your application development process, check it out.