Iphone – What debugging techniques do you use for iPhone/iPod web development


I'm working on a web application, and we are targeting the iPhone and iPod Touch. I'm familiar with the debugging tools for FireFox and IE (e.g. Firebug and IE Developer Toolbar), but I can't find anything for the iPod. I am not looking forward to using alert as my main debugging tool, especially when I expect mouse events to be one of the major issues.

Is this really the state of the art? What tools do you recommend?

Also, how similar is the html layout on an iPhone to that of Safari running on Windows? On a Mac?

Best Solution

The iPhone version of Safari includes a debug console that can be very handy. Settings > Safarai > Developer.

You can also use the Simulator in the iPhone SDK. There's no extra debugging, but it's easier than using a physical device all the time.

You can also use the desktop version of Safari for many things.

Related Question