FireBug is a new tool for Firefox that aids with debugging Javascript, DHTML, and Ajax. It is like a combination of the Javascript Console, DOM Inspector, and a command line Javascript interpreter.
In preparation for an upcoming Java EE project, I’m also doing some advanced GUI prototyping using DHTML, Javascript (and eventually AJAX, where it fits in). FireBug comes in handy :)