A Firefox extension from Chris Pederick which adds in a toolbar of web development goodies, from disabling JavaScript, CSS and images through to manipulating cookie information, speed reports and validator tools and error consoles.
Apart from being an elegant debugger, FireBug offers the developer hooks that can be used from JavaScript, offering logging, assertions, performance measuring, and command line functions for inspection or traversing a document.