Back in June 09 I wrote a post about which tool was better Chrome’s Developer Tools or Firefox’s Firebug. You can read that post
here.
In that post I concluded that Firebug was still at the number one spot, but one year on, is that still the case?
Firebug
At the time of my last post by version of Firebug was at 1.4.0b2, at the time of writing this post I’m now using 1.5.4
Firebug version 1.5.4
So has much changed in Firebug? Well not much really! There has been some improvements, like better XHR support and stability improvements. My thought process is that Firebug has been a polished product for some time now and how many more “features” can you really add. Hats off to the guys who put Firebug together!
Now, there may be some of you out there that are currently screaming at your screens as you read this saying things like “There as been loads of changes: There’s this and that and what about this…”. This may be true, but the reason I have not noticed any changes is, quite frankly, I haven’t been using Firebug!
“What did you just say? You don’t use Firebug?”
Nope, I don’t use Firebug and that is because Chrome’s developer tools has become
my number one website developer tool.
Chrome/Webkit
Well there is no surprise that the version numbers have increased on Google Chrome; Google are renowned for fast development and Chrome is no different. Last year I was using version 3.0.190.4, now I’m using 6.0.437.1
The first benefit is that the developer tools are built right in to the browser; no added extension to install.
Features
I can finally dock the tools into the main browser window! I know this seems strange but when the tools first came out there was always a button that said “Dock into Window”, however It never did anything.
Chrome Developer Tools docked in main window
Elements
Just like Firebug I can explore the DOM and manipulate the elements, change CSS.
Resources
I can explore all my resources and see if there are any errors. I can also see the Headers for each resource on the page.
Scripts
No developer tools would be complete without a good JavaScript debugging tool…life saver!
Timeline
Can’t say that I’ve used this much, but still very useful none the less. You can see a timeline of what the browser is doing as well as seeing the memory consumption. This would be very useful if you had a AJAX heavy application.
Memory timeline
Profiles
You can record the CPU Profiles for your site. This is good for your inner geek! If anyone has found a good use for this please leave a comment, and I'll see if I can fit it in to my workflow!
Storage
This allows you to view any local storage that the site may be using. Viewing your Cookies is very useful, but what is most impressive feature, and something that Firebug does not have (yet), is being able to view your HTML5 Local Web SQL Database.
What is even cooler is that you can run SQL Script against your database and the “editor” even has auto-complete on your statements.
Web SQL
Audits
Audits gives you recommendations on optimizing your website.
Console
Just like Firebug the Console outputs any Errors or XHR calls etc.
Added Bonus
What is also very cool is that you can install Firebug Lite as an extension for Google Chrome, so if you just can’t do without Firebug you can
download the extension here.
Firebug & Chrome Developer Tools running in/on the same website
Who Wins Now?
Well, a year ago I said, and quote: “Firebug! ….Maybe Chrome will win in the end!”
The “end” is now!
Chrome has come a long way and I love it as a browser and now it’s a Web Developers best friend. I no longer open Firefox (It’s not my job to test for cross browser compatibility).
Is Chrome perfect? No, and I still want better XML viewing support, but gone are the days of heavy sluggish browsers…. what’s that you say? You’re viewing this post in IE? What IE6? ;)
Roger Chapman