Show TOC

Debugging on iOSLocate this document in the navigation structure

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

Context

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

Procedure

  1. Connect the device to the Mac with a USB cable, or start the simulator.
  2. On the device or simulator, go to Start of the navigation path Settings Next navigation step Safari Next navigation step Advanced Next navigation step Web Inspector End of the navigation path, and turn it to On.
  3. On the device or simulator, open your Hybrid SDK (Kapsel) app or a Web page in the Safari browser.
  4. On the Mac, in Safari, choose Start of the navigation path Develop Next navigation step iPhone Simulator Next navigation step index.html End of the navigation path.