I work in an application that is JavaScript intense. So to debug , I end up using many alerts. Are there other better ways to debug ? What methods do you use ?
Most modern browsers include a console, which can help with displaying syntax errors and the like. Of course, there's Firebug.