FireFox+Firebug vs IE8 Developer Toolbar

May 18th, 2009

A long while back I posted that IE8 was shipping with a new Developer Toolbar that was very similar to FireFox’s Firebug.  Now that I’ve had several month to play with each, I thought it was time to comment on the two of them.

First off: both tools are wonderful.  If you are doing web development (JavaScript heavy or not), do yourself a favor and install BOTH of them.  If you are using IE7, upgrade.  If you are using IE6 … may the gods be merciful on your soul.  Actually, let me restate that: There are no redeeming qualities to IE6 as to put up with it except by threat of violence.  Get rid of the beast.  (Then download the IE6 vm from Microsoft).

I know .Net/C# developers that almost refuse to help you unless you have ReSharper installed.  Same goes for web developers these days.  You need IE8 and FireFox+FireBug.  It is that important.

Moving along then.

Getting started with either of them is fairly similar.  F12 is your friend.  Click F12 and you will get on of the two displays below.  You see color coded html, code folding, and display of css style information.

image image

OK, to write everything out would take too long.  Here is a breakdown:

Feature IE8 FireBug
+FireFox
Opera Safari Chrome Usefulness
HTML
Syntax Highlighting Yes Yes Yes Yes Yes star star
Code Folding Yes Yes Yes Yes Yes star star
Html Editing Yes Yes No No No star star star
HTML Validator Yes* No No No No star
Clear Cache Yes No** No** No** No** star star
Select and Highlight Yes Yes Yes Yes Yes star star star star
Layout Yes Yes Yes Yes Yes star star
CSS
Css Viewer/Editor Yes Yes Yes Yes Yes star star star star
Css Syntax Highlight Yes Yes No No No star star
Disable CSS Styles Yes Yes No No No star star
Create New Styles Yes Yes No No No star star
Validate CSS Yes* No No No No star
JavaScipt
Javascript Highlight Yes No Yes Yes No star
JavaScript Debug Yes Yes Yes Yes No*** star star star star
Breakpoints Yes Yes Yes Yes No*** star star star star
Step Over/In/Out Yes Yes Yes Yes No*** star star star star
JavaScript Profiler Yes Yes No Yes No star star
Execute JavaScript Yes Yes Yes Yes Yes star star
Call Stack Yes Yes Yes Yes No star star star
Local Variables Yes Yes No Yes No star star star
Watch Variables Yes Yes Yes No No star star
Web Service Viewer No Yes No No No star star
Intangibles
YSlow No Yes No No No star star
Browser Mode Switch Yes No No No No star star star
Dockable Yes Yes Yes Yes Yes star
Color Picker Yes Yes* No No No star
Net Tab No Yes No No No star star

* Uses 3rd party web site
** Available in other areas of the application
*** Technically you can…but you really don’t want to.

You can see that there are a number of features missing from each tool.  That said, I think FireFox+FireBug has an advantage right now, mainly for YSlow, the Console Tab (displays web service traffic), and the Net Tab.  Those three are huge.  For the items that FireFox+Firebug are missing, you should probably install the Web Developer Toolbar for Firefox.  I tend to install both of those on every machine I own.

For IE8, the fact that you can switch between IE7 and IE8 mode, Standard and Quirks Mode is also huge.  The built in Html/CSS validation doesn’t hurt either.  But what really shines in IE8 is the built in tools.  Color selection, Cache Management, Outline, Image, etc.  To get those in FireFox you need the Web Developer Toolbar for Firefox.  To see the web service traffic in IE8 (that Firebug gives you), you need to get Fiddler2.  Actually, you should have Fiddler for both browsers.

But what about those other browsers:

Google Chrome: Chrome has its Developer menu which contains a primitive set of the features listed.  It is missing quite a bit, but it is able to view html, css, and JavaScript, debug JavaScript, modify css on the fly, and a few other items.  All things considered, it isn’t bad, but Chrome is well behind the other two browser for functionality.

Apple Safari: Lions and tigers and bears – oh my!  Test in Google Chrome.  Hope it works in Safari.

EDIT: I was show the error of my ways with Safari.  Safari does have developer tools – and they are EXACTLY what you get from Google Chrome, plus some extras.  Which makes sense, after all the two browsers use the same code base – but come on, at least get some new icons!

But to find the developer tools, you have to show the menu bar.  Then go to preferences, Advanced Tab, and check “Show Develop menu in menu bar”.   Next go to the Develop menu and select “Show Web Inspector”.  Actually, check out everything in that menu.

What do you get: you get a better JavaScript debugger than what Chrome has.  The Resources tab works.  A profiler (nice touch).  But there is this Databases thing that I know nothing about.

I still don’t think Safari is better than Firefox or IE8, but it is an improvement on what you get with Chrome.

Opera: I had some trouble getting the Opera tools to work.  Could be me.  But all said and done, the tools you get are serviceable.

And the winner is…

You the web developer, who for years has toiled away in the archaic knowledge of proper alert placement.  You win.  Both these tools are wonderful, I just wish we had them long ago. That said, it is hard not to give FireFox+FireBug a slight advantage in this race.

EDIT: Since the initial publication, Mozilla has released the Web Developer Toolbox Collection
https://addons.mozilla.org/en-US/firefox/collection/webdeveloper
This includes Firebug, YSlow, ColorZilla, Web Developer Toolbar, and more.  Please just get the collection.

Note: Star Image via FamFamFam

Chris Brandsma JavaScript, html, web

  1. Steve Py
    May 18th, 2009 at 23:09 | #1

    A nice comparison.

    I will say that IE Developer Toolbar is one of the best things Microsoft has done for development without “both” blatently ripping off a competitor *and* cocking it up. (I’m guessing it is a rip-off, but they didn’t screw it up. :) )

    Might consider a “Useful Factor” rating in the table for differences to show the huge benefits from the hardly missed ones.

  2. May 18th, 2009 at 23:17 | #2

    @Steve: good call. Added a Usefulness column with stars to the grid.

    Let me know if you disagree on any of the ratings. :)

  3. May 19th, 2009 at 00:47 | #3

    I still hate the javascript debugger in the IE8 bar. I think technically the best js debugger in terms of discovering the location of the executed js and being able to break there on an error is the classic Microsoft Script Debugger. In some cases even better than Visual Studio. Of course, it looks like crap and you have to use notepad and the clipboard to do anything. VS is better in every other area, but sometimes it just can’t find the code location correctly.
    Firebug is a little unwieldy, but I’ve never had debugging issues with it. Albeit, I rarely use it.

  4. May 19th, 2009 at 05:23 | #4

    Nitpicking: that’s Firefox and Firebug, not FireFox and FireBug. :-)
    Otherwise, the article is very interesting. I wish I have a computer powerful enough to support VirtualPC and the IE images (yes, my computer is old!). Thanks for the link, it might be useful someday.

  5. May 19th, 2009 at 09:07 | #5

    Hey Chris, good comparison, but you missed one huge (IMHO) feature of Firebug. When you hover over an HTML node in the viewer, it highlights the element and shows the margins and padding in different colors. This has saved me so many headaches, I can’t imagine working without it.

  6. May 19th, 2009 at 09:09 | #6

    Chris -
    Have you encountered the IE8 Developer Toolbar not loading styles for some sites? I’ve had issues with seeing CSS data for local and some of my intranet sites.

    -Damien

  7. Skinn3r
    May 19th, 2009 at 09:22 | #7

    Uhm… as for the Safari part.

    Did you know that actually Safari has built in development tools?
    Enable it from preferences->advanced and check show development tools on the bottom.

  8. May 19th, 2009 at 10:01 | #8

    @Skinn3r: no wonder I couldn’t find it when it is buried that deep. :) I’ll update my more enflamitory language out.

  9. May 19th, 2009 at 10:03 | #9

    Good comparision. Haven’t used IE8 though, but have been a great fan of Firebug + Firefox. When combined with other web development tools, Firefox could easily become a web dev IDE! :)

  10. May 19th, 2009 at 10:11 | #10

    All of those No’s that you encountered are alleviated by the other addons that are almost ALWAYS accompanied with Firebug: Web Developer Toolbar, and User Agent Switcher. And then you can add another group “Extensibility” Since it will have none, yet there are things that Firebug can do that IE8’s developer toolbar will never be able to do unless Microsoft opens it up. Firebug FirePHP = PHP debugging in Firebug, Firebug YSlow = Speed tests, etc. inf.

Comment pages
Comments are closed.