The World Through the Eyes of John Brennan
I’m going to keep this short because I’ve been extremely productive today and want to continue this trend for a couple more hours.
I would like to start by saying that I heart Firefox. And probably Joe Hewitt as well, but for developing Firebug.
I love JavaScript development. Although JavaScript may seem very ‘laxed, its prototypically inheritance and DOM manipulation is fantastic! But this post isn’t about that. It’s about what to do when you switch browsers, hold your breath, and try to see what IE spits out.
If you have Office 2003 then you have the Microsoft Script Editor. I read that all over the web, but I tried searching for “mse.exe” and nada. After losing some hair I found it!
You can install it through MS Word. So open it up and follow the image below. Just click on the Script Editor and it will begin installing.

Then, you’ll want to un-disable script debugging. The option is found here: Tools > Internet Options > Advanced > Disable script debugging (Internet Explorer).
Before making this find I took a few minutes to write a quick logger/debugger that works in both FireFox and IE (not tested elsewhere, but *should* work). =)
There are some powerful loggers out there, like YUI Logger, but it was easier for me to crank this out than spend some time reading APIs and other doc.
Here’s my lightweight, ~4K debugger. Debug.js. Just include the file above where you call the debugger. The call looks like this:
DEBUG.debug('a debug message'); DEBUG.warn('a warn message'); DEBUG.error('an error message');
Added: May 12, 2008
Cons:
Cons:
My vote is for the DebugBar, although it would be great to have the ability to step through code and have more accurate scripting error messages in the future.
Code. Design. Explore. is the blog of John Brennan, a web developer/designer, entrepreneur, and avid world traveler. I currently live in San Diego, CA, USA.
My first passion is to create. I want to be part of a successful startup that will empower others. I believe in designing for the user and appreciate other web apps that design for usability.
My second passion is to help. My heart lies in philanthropy and helping others that are just as able, but haven't been afforded the same opportunities only because they were born at a different coordinate on this Earth.
This blog will mostly be around building cool things, although I will surely include my travel experiences when I am abroad. Feel free to subscribe to a specific category if that is only what interests you. And please connect with me. I always enjoy meeting new, interesting people!
JFR
April 23rd, 2008 at 12:34 am
Hi,
You can also try DebugBar (http://www.debugbar.com/) which adds to IE DOM inspector, http sniffer, javascript console, and a lot of other features.
Companion.JS (http://www.my-debugbar.com/wiki/CompanionJS/HomePage) which gives detailled JSscript errors, and console.log feature compatible with Firebug.
Hope this helps.
JFR
http://www.debugbar.com