Inspecting Mobile Safari

This works with both the simulator, as shown here, as well as actual iOS devices. Though if used with actual iOS devices, plug it in to the computer and go to Settings - Safari - Advanced and turn Web Inspector on. Beyond that, it's exactly the same. And it rocks. Hard.