Forum Moderators: phranque
javascript:alert(variable_name);
Also effective for knowing if a particular object has been declared or strings are evaluating to what they should. You can also use this technique to make things happen (set a particular object's display = '' or call custom functions within your script).
This has come in handy many a time for me.
I have never used it, but Mozilla has a decent built in javascript debugger