With so many browser out there in the wild, working as a Web Developer certainly is not an easy job these days. Thankfully, over the last years, decent tools have been developed by bright people that make developing and debugging of code easier for the developer. But sometimes, it is not easy to keep track which tools are at a Developer’s disposal (and which are actually usable). The following article seeks to list the best tools available and quickly describing how to activate/install/use them.
To give a quick overview of the tools per browser, please refer to the table below.
| Browser | Available Tools (main area of debugging in parenthesis) |
|---|---|
| Firefox |
|
| IE6, IE7 |
|
| Opera |
|
| Safari |
|
Web Developer Toolbar
If you can only pick one extension to install for debugging and developing web sites in Firefox, it has to be the Web Developer Toolbar. A real gift for web developers, cause it consists of a myriad of tools ranging from Cookie related tasks (disable, delete, view their content) to CSS, display of line guides, ruler and much too many to mention. Go and install it now.
Firebug
If you are using Firefox, Firebug is probably the first or second extension you should install (in addition to Web Developer Toolbar). Firebug lets you inspect, monitor and edit HTML, CSS and JavaScript live on any web page. In addition to that, it provides a script console which makes JavaScript development much easier. The console object offers a huge load of options that lets you output code to the console and debug it. Michael Sync provides a tutorial that explains these options in further detail. Also included in Firebug is a bandwidth monitor to track which resources on your site consume how much bandwidth. A must.
Modify Headers
Modify Headers is a useful extension to add, modify and filter out HTTP request headers. As stated on the web site, you could fake a request from a mobile device or an Ajax request.
Poster
The Poster extension is a developer tool for interacting with web services and other web resources that lets you make HTTP requests, set the entity body, and content type. This allows you to interact with web services and inspect the results.
XRAY & MRI
XRAY and MRI are bookmarklets for Internet Explorer 6+, and Webkit and Mozilla based browsers (including Safari, Firefox, Camino or Mozilla). XRAY can be used to inspect the box model for any element on the page, whereas with MRI you can test and play with selectors.
Firefox Accessibility Extension
The Mozilla/Firefox Accessibility Extension makes it easier for people with disabilities to view and navigate web content. Developers can use the extension to check their use of structural and styling markup that support functional web accessibility.
IE Developer Toolbar
Microsofts Internet Explorer Developer Toolbar is, when it comes to DOM inspection and CSS debugging, the best tool out there for IE debugging. Due to the high market share and flaws in the whole rendering model (like hasLayout), debugging IE can’t be ignored but can become a nightmare pretty quickly without the toolbar. It still is a bit clunky and far less slick than Firebug, but it helps to tame the IE beast.
Web Accessibility Toolbar
The Web Accessibility Toolbar (version for Opera) offers functionality that not only lets you check how accessible your site is (or rather might be, cause machines can’t really check how accessible something is for humans), but also provide a bunch of other features like e.g. validation links or resizing of the browser window.
Visual Web Developer Express Edition
As JavaScript debugging is not included in the IE Developer Toolbar, you need a different tool to do that. You can either use the Microsoft Script Debugger (mentioned below) or download (for free) the much heavier Visual Web Developer Express Edition. Bernie explains how to use it to debug errors in your JavaScript code on your web site.
You can also use Microsoft Script Editor, which is, unfortunately, not really free, but rather included in the Microsoft Office 2003 bundle and not available as a separate download. Because of that, I am not including it in this list, but Jonathan Boutelle offers some instructions how to use it for debugging.
Microsoft Script Debugger
You can download this MS debugger from their download section for free and there is even a documentation on MSDN. It provides less functionality than the Visual Web Developer Express Edition, but still helps you to deal with more or less cryptic error messages like “object required” that IE normally comes up with. Jake Howlett describes how to debug JavaScript using Microsoft Script Debugger at codestore. As a sidenote and to be safe, after installing the Script Debugger, restart your machine to be able to use it next time you start IE.
Opera developer tools
On their developer site, Opera mentions two developer tools, Opera Developer Console and DOM Snapshot, as some kind of bookmarklets for their browser version 9 and above. From the screenshots presented, they both look very promising. Unfortunately, I could not get them to work in version 9.10.
Opera Error Console
The error console is a built-in feature of the Opera browser and can be activated going to Tools > Advanced > Error console. A window pops up which displays any kind of error or warning messages related to the currently loaded web page. They can also be filtered by certain categories (e.g. HTML, CSS, XML, JavaScript). You can find a detailed article about using the Error Console as a debugging tool in the developer section of the Opera Web site.
Safari Debug Menu
Safari’s debug capabilities are kind of poor, but at least there is a way to display a JavaScript console (similar to Firebug and Opera Error Console) to make JavaScript debugging a bit easier. In the developer section of the Apple Web site, there is a FAQ article that explains how to enable the hidden debug menu. On Mac OSX, open a terminal and type:
defaults write com.apple.Safari IncludeDebugMenu 1
On Windows, use a text editor to add the following to the Preferences.plist file located at C:\Documents and Settings\USERNAME\Application Data\Apple Computer\Safari\Preferences.plist:
<key>IncludeDebugMenu</key>
<true/>
In Safari 1.3 and above, you can now access the new Debug Menu and check the “Log JavaScript Exceptions” menu item. Then selecting “Show JavaScript Console” will open the console to log JavaScript exceptions.
Web Inspector
To activate the Safari Web Inspector (available in Safari 3 and above) on Mac OS, type the following in a terminal window:
defaults write com.apple.Safari WebKitDeveloperExtras -bool true
On Windows, open WebKitPreferences.plist in Documents and Settings\*Your User Name*\Application Data\Apple Computer\Safari and add this key:
<key>WebKitDeveloperExtras</key>
<true/>
If you then quit your Safari and restart it, you should have an “Inspect Element” option in the context menu.
Somehow I had not heard of the IE Developer Toolbar. Though it’s usually IE6 that’s a pain, this will definitely come in handy when dealing with IE7. Thanks!
@Brad
Yeah, the IE Dev Toolbar can be quite handy but, as said, don’t expect it to be as nice as Firebug. While hasLayout in itself is a pain, the Toolbar shows for elements that have layout “hasLayout = -1″ and for elements that don’t it shows “hasLayout = 0″. No, seriously.
People looking for something with some of FireBug’s functionality for IE as well as a more general dev / testing tool might find Badboy interesting:
http://www.badboy.com.au/
Don’t forget Drosera for Webkit/Safari3 http://trac.webkit.org/projects/webkit/wiki/Drosera !
Collection of Web Developer Tools for major browsers | nerdd.net…
\r\n… With so many browser out there in the wild, working as a Web Developer certainly is not an e…
[…] Komenda has an excellent collection of in-browser tools for web developers on his blog. The obvious ones, Firebug and WebDeveloper, are there, but the article also lists […]
For Opera I use MODI:
http://slayeroffice.com/tools/modi/v2.0/modi_help.html
(I find older, less-fancy version more usable: http://slayeroffice.com/?c=/content/tools/modi.html )
[…] http://www.klauskomenda.com/archives/2008/02/16/collection-of-web-developer-tools-per-browser/ […]
Here is one you missed: Design
http://www.sprymedia.co.uk/article/Design
It offers some generic tools for measurement and grid.
Works in all major browsers (not IE6 of course).
[…] хороший человек взял и свел их все в одну […]
[…] klauskomenda.com » Collection of Web Developer Tools, per Browser (tags: web developer css Browser) […]
[…] klauskomenda.com » Collection of Web Developer Tools, per Browser […]
Hi Klaus,
Several months ago I picked up on the developer toolbar for IE7 from you. Now, I am very pleased to see all the other available tools that you have highlighted here. Great stuff! As a non-techie designer, I rely on the likes of you to make my work easier. Thanks!
@Liam
Thanks very much for the feedback and great to hear that my stuff is useful to you.
[…] Collection of Web Developer Tools, per Browser by Klauskomenda.com - This article is a great list of the developer tools you should use. A section per browser. Did […]
[…] Collection of Web Developer Tools, per BrowserSometimes, it is not easy to keep track which tools are at a Developer’s disposal (and which are actually usable). The following article seeks to list the best tools available and quickly describing how to activate/install/use them. […]
[…] Collection of Web Developer Tools, per Browser […]
Web开发工具大集合——每个浏览器都有份!…
网站开发者的一大苦恼,就是有太多的浏览器要应付。幸亏世界上有一些聪明的人,能够研究出一大些方便编辑和调试网页代码的好工具。不过,要从不计其数的小工具里面找出合适的可真不…
Chinese Version of this artical:
http://www.butwho.net/2008/05/collection-of-web-developer-tools-per-browser.html
translated by me ~~
Unable to pingback, thanks to the GFW!
[…] Collection of Web Developer Tools, per BrowserSometimes, it is not easy to keep track which tools are at a Developer’s disposal (and which are actually usable). The following article seeks to list the best tools available and quickly describing how to activate/install/use them. […]
[…] Link: Klaus Komenda […]