what tools do you use for writing jquery code and testing/debugging your code?
The Firebug plugin for firefox is essential - it lets you:
- Debug your code (step into, out, etc)
- Set watch variables and expressions
- See contents of all requests and responses, as well as all content received
- Time to download each resource
- Inspect and modify the DOM, including viewing the DOM after it has been dynamically modified by JavaScript
- And much more!
There are also debuggers available for Internet Explorer and other browsers, but none are quite as powerful as firebug.
Depending on the language, there are other resources available for debugging server side code that come in quite handy, too. But that is another question...
jsFiddle is very handy for quick snippet debugging. There are competitors such as jsbin, but fiddle remains my favorite, even though it's only in alpha at the moment.
Of course I think Chrome's developer tools and FireBug/Web Developer for Firefox are tremendously helpful as well...each tool has it's area that it helps with.
Lastly, let's not forget: the jQuery API itself, a tremendous resource for information.
Google Chrome Developer Tools are really powerful.
Also great for debugging CSS and HTML issues. The DOM highlighting is really handy.
console.log(); is your friend. Pick up its output with Firebug for Firefox, or the built-in consoles in the developer tools in Safari and Chrome (IE no help as usual).
even if it is funny, I find IE 8 dev tools very convinient for js debug