Debugging Web Apps

Included as part of WebKit, Web Inspector is a useful debugging and profiling tool for web content.

You can use Web Inspector to troubleshoot and optimize your web content for your apps. This tool includes various features and capabilities, such as inspection, profiling, and console integration.

WebKit-enabled browsers use a client-server architecture to make Web Inspector functionality available. They act as webservers, so you can inspect content remotely on a browser. You can inspect your app's code by using any WebKit-based browser on the same Wi-Fi network as your app. Simply launch Web Inspector and navigate to the IP address and port number used by the browser.