Debugging on iOS

This procedure demonstrates how to debug an app that includes Apache Cordova and Kapsel plugins.

This procedure requires a device or simulator running iOS 6 and a Mac that has Safari 6.

  1. Connect the device to the Mac with a USB cable, or start the simulator.
  2. On the device or simulator, go to Settings > Safari > Advanced > Web Inspector, and turn it to On.
  3. On the device or simulator, open your Kapsel app or a Web page in the Safari browser.
  4. On the Mac, in Safari, choose Develop > iPhone Simulator > index.html.