Greg's Blog

helping me remember what I figure out

FireBug

| Comments

Now I can’t remember where I stumbled across this little gem of a plug in for FireFox: FireBug, but yesterday it completely surprised me. I originally had installed it because it was meant to be far better at debugging JS, than the new version of the JavaScript Console that was shipped with FireFox 1.5 and that it was. So I have been using it for a while now, but yesterday I stumbled across a feature that makes it utterly invaluable now. I do a lot of Ajax based development these days and sometimes trying to figure out what is going on under the hood is a little problematic. However if you open it up and look at the options, you’ll see an option to show XmlHttpRequests disabled. Enable it and make a remoting call. Along with the usual JS/CSS debug you should now see something like this: Firebug screenshot 1 If you click on the Response Tab you can see what has been returned to the browser. Firebug screenshot 2 And if you click on the JS tab you can inspect the whole response object. Firebug screenshot 3 Awesome! And since it’s been so long between posts here a couple of other useful Ajax/prototype links: