views:

252

answers:

16

I'd like to collect the best debugging aids for all browsers out there. So that would probably be Firebug for Firefox but what do you use for IE? Safari? Opera? Opera Mini? What else is out there? Are there tools that work well for IE 6? IE 5?

+13  A: 

For Firefox (any version > 2.0), use Firebug.

Aaron Digulla
I'm posting this for completeness and so we can use voting to find a better tool (if there should be one :)
Aaron Digulla
+1 Is there any other?
OscarRyz
Firebug beats everything. The only thing it can't do is find IE rendering errors, at which point you're back to the horror of web development in IE.
Robert Grant
+4  A: 

For Chrome, Chrome Dev Tools.

cxfx
+4  A: 
  1. IETester for IE-versions.
  2. Adobe BrowserLab or SuperPreview extension for IE for testing designs in multiple browsers.
  3. Developer Toolbar for IE.
  4. And ofc Firebug for FIrefox.
Mickel
+4  A: 

In Internet Explorer or other Browsers than FireFox:

FireBug Lite

ArneRie
+5  A: 

For IE, either the Developer Tools included in IE 8 or the Developer Toolbar.

Joey
For which versions of IE does this work?
Aaron Digulla
IE 6 and 7. The Dev Tools in IE 8 are superior anyway so nothing's missing there.
Joey
+2  A: 

For debugging, nothing can beat firefox:firebug
and for IE, if once in a blue moon i use IE, i use, Internet Explorer Developer Toolbar

Rakesh Juyal
+12  A: 

Here is a roundup

  • Firefox has Firebug and Webdeveloper Toolbar,
  • Safari and Chrome has the Inspector,
  • Opera has Dragonfly,
  • Internet Explorer has the Developer Toolbar

Firebug still has the most advanced features, but the others are catching up.

Thomas Ahle
+1 for chrome Dev Tools, in my opinion far better than Firebug;
Rixius
+2  A: 

dynaTrace Ajax for Deep Tracing of Internet Explorer

cxfx
+2  A: 

The Speed Tracer extension for Google Chrome looks extremely useful.

jlarcombe
A: 

For Firefox 3.5, use Firebug. For IE8, use Developer Tools

TheVillageIdiot
A: 

Firebug / Firebug lite of course :) Google Chrome's JS console is also very nice

just_a_dude
+1  A: 

Cross-browser: x-ray

Tegeril
+2  A: 
K.Rijpstra
A: 

Using Firefox, in addition to Firebug (as many have previously mentioned) I find Mozilla's Venkman JavaScript debugger rather handy from time to time too.

Zeus
A: 

A series of strategically placed alert function calls is handy.

kzh
Handy but also blocks the flow of the app.
Aaron Digulla
A: 

I suggest to use a DIV with the id="debug" and then add text to it for debugging. That allows you to overlay the HTML with the debug output and it doesn't block the flow of the app. Use a z-index to make sure it stays on top and give it transparency so you can see through it. See this answer for the CSS.

Or open a new window and append your debug messages there.

You can use this with nested DIVs to implement full-fledged logging. Have a look at this article on A List Apart and at log4js to get some ideas.

Aaron Digulla