Getting Firebug Lite working on iPhone Simulator (or, how to add a bookmark to Safari on the iPhone Simulator)

Jan 19 2011

I'm working on some javascript front-end code for one our clients and it's not working correctly on the "mobile" iPhone/iPad/iOS version of Safari.  Which is odd because it works fine on the "normal" versions of Safari (Mac and Windows).  Since I don't actually have an iPhone/iPad/iOS device, I'm limited to debugging the javascript on the iPhone Simulator but it shouldn't be a big deal (famous last words) since Safari has good javascript debugging tools (Develop -> Start Debugging Javascript).

So I fire up the iPhone Simulator and set the device hardware to be an iPad (more screen size is always better) and I turn on the javascript debugger (Settings -> Safari -> Developer -> Debug Console) and......all I get is a console log that shows output.  No debugger, no console, no resource loader, or anything else that is useful.  Yuk!