tags:

views:

150

answers:

9

I sometimes need to debug JS in other browsers, and it would be really nice if they all had Firebug - failing that, what's the closest they have?

A: 

Fiddler is the one I use: http://www.fiddler2.com/fiddler2/

There is Charles: http://www.charlesproxy.com/ Also WireShark: http://www.wireshark.org/

Dustin Laine
Those are very nice tools, but not really in the same class as Firebug.
Shog9
+6  A: 

Firebug Lite

Luca Matteis
Firebug Lite doesn't let you debug JS, it's nice for examining HTML and CSS, but JS debugging is not supported in Lite version.
Ilya Volodin
A: 

How about Firebug Lite? It claims to work in IE, Opera and Safari by simply being a Javascript file.

Michael Williamson
A: 

Firebug can be used in other browser with it's javascript version : hhttp://getfirebug.com/firebuglite

Anyway, in Safari there is Web Inspector which is brilliant.

Ross
+3  A: 

IE8 - Developer Tools (F12)
IE6,7,8 - Visual Studio/Microsoft Script Debugger/DynaTrace (for tracing JS, not debugging)
Chrome, Safari - Developer Tools.

Ilya Volodin
A: 

IE has the developer toolbar.

Randy Simon
IE8 has this built in; in fact, it's a better one (at least IMO). The Developer Toolbar won't load in IE8 anyway, you'll need to use the built-in one instead of the linked one.
Michael Madsen
+1  A: 

For Safari and Google Chrome, the Developer Tools.

Just right-click anywhere and select "Inspect Element", or use the Ctrl + Shift + J shortcut:

Developer Tools

Daniel Vassallo
Developer Tools is actually a part of WebKit. :)
Mikael S
I like the stackoverflow background :)
Jayrox
A: 
  • Firebug Lite - any up-to-date browser, but limited
  • IE - number of options depending of IE version and do you have Visual Studio
  • Opera - Dragonfly
  • Webkit based browsers have inspector and debugger in menu

IMHO Firebug is the best tool but could be used only on Firefox

Andrey Yatsyk
+1  A: 

Opera has the excellent dragonfly developer console, which can profile your code (to find bottlenecks and redundent code) as well as step through breakpoints.

kennebec