Question

Does anyone know of a really good editor to debug JavaScript (other then Visual Studio 2008 and FireBug)? ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­

Was it helpful?

Solution

Here is an article, Advanced JavaScript Debugging Techniques, that describes the use of several tools. One new tool I learned about that I hadn't heard of before is JSLint. Sometimes JSLint just immediately shows you your dodgy code that is causing the issue.

OTHER TIPS

Opera has Dragonfly, though I still prefer Firebug. Before Firebug there was Venkman, though it's future is uncertain at this point.

IE8 beta 2 has a nice debugger

The Google chrome browser has a reasonable wee JS debugger built-in. There's a good list of the available commands here.

Take a look at Venkman, the JavaScript debugger for Firefox:

http://www.mozilla.org/projects/venkman/

It's a real source-level javascript debugger where you can set breakpoints and step through code.

Aptana Studio IDE has a nice javascript debugger.

The community version supports only Firefox, the professional one also supports Internet Explorer.

For Internet Explorer debugging (and when you don't have VS 2008), you can use MS Script Editor. This is a good writeup on how to get it configured correctly:

http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html

I work in Aptana. You set breakpoints, hover over variables, and do watches right in the editor. Love it. Never thought I'd move away from Firebug as my chief debugger.

If you're accustomed to using Firebug, you might like Firebug Lite, implemented in JavaScript. You can use it as a bookmarklet, which is nice. I'm not sure how powerful it is, I imagine other, "real" solutions are better, but it's handy in a pinch.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top