A few months ago I mentioned an excellent Weinre tool for debugging HTML/Javascript based apps and web pages for iOS remotely with Firebug like ease.
Over the weekend I received a tip about another debugging tool that interacts with the WebKit Web Inspector in Mobile Safari on the iOS simulator.
What makes this tool different from the Weinre tool is that you get the full Web Inspector, javascript breakpoints and debugging, javascript profiling and other debugging features not available within Weinre.
The disadvantage of this tool is that it works with the iOS simulator as opposed to an actual device.
The tool is iWebInspector by Max Firtman and can be downloaded here. You can read Max’s blog post about the tool here.
If you’re wondering about how the WebKit Web Inspector was enabled in Mobile Safari you can read about the necessary (private) API calls in a post by Nathan de Vries here.
Looks like a great tool to work with if you’re using Phonegap or having some issues with a web page only in Mobile Safari.
©2012 iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.






