Recently I've started working on this
JavaScript 3D engine which I mentioned quite a lot on this blog already. It's quite a big piece of software, and before, no JavaScript scripts I wrote exceeded 300 lines of code, so I never really needed JavaScript development tools. But when I started writing that library, I had to use them and I was surprised how good they are. Basically all major browsers today include tools to help you developing websites and their scripts, here is a short overview for people who also never noticed this:
Opera Dragonfly
Dragonfly is the development tool which comes with
Opera and includes a great JavaScript debugger, DOM inspector, CSS viewer. Everything you need.
Very useful: It's source code viewer has an incremental search feature, and there is an interactive JavaScript console. It even features remote debugging and has a large set of options to use. This is basically my favourite development tool, also maybe because it integrates into the browser and is not a separate window.
Chrome, WebKit and Safari Developer Tools
Chrome, and as it appears also Safari (and probably all WebKit browsers?) include JavaScript debugger, DOM inspector, all the standard stuff.
But I was surprised to see this very useful utility in it as well:
Chrome/Safari include a very neat JavaScript and Resource profiler, telling you which of your functions are the slowest. When writing a
JavaScript 3D engine like I do, this is incredibly useful. The resource loading profiler additionally shows you how big all the files are your website are, and how long it needs to load them.
Internet Explorer Developer Tools
Since Internet Explorer is one of the slowest adapting major browsers out there, I rarely use its development tools, but it includes some surprisingly good utilities:
It's all there: A debugger which even feels a bit like Visual Studio, DOM and CSS inspector as well as a JavaScript profiler. Too bad this browser doesn't support canvas or even WebGL.
Why is FireFox not included here?
Simple: FireFox doesn't include development tools by default, you have to download them manually as addon. I'm using Firefox/Minefield, and unfortunately, there doesn't seem to be a working addon with the Minefield version I'm running when I wrote this, so Firefox has to be left out here.
Summary
All major browsers now include impressively mature web developement and debugging tools which can compete with the development tools of 'real' programming languages such as C++ or Java. Looking forward to see some more big applications developed in JavaScript. And I think this will happen soon, since JavaScript is also getting quite fast now.