The simplest way to debug web applications on iOS is to enable remote debugging with Safari on your Mac. If you don't have a Mac, skip ahead to the Debugging on Anything section.
First, on your iOS device, head over to Settings | Safari | Advanced and toggle Web Inspector on. These actions are depicted in the following screenshot:
Next, you'll need to add the Develop menu to Safari on your computer, so open Safari and open the preferences (Safari | Preferences), and in the Advanced tab, check the Show Develop menu in the menu bar checkbox, as shown in the following screenshot:
Connect your device to your computer using a USB cable, launch Safari on your iOS device, and then you should see your device in Safari's Develop menu on your Mac, as follows:
If you have several web pages open in Safari on your iOS device, you will see them all listed. Click on the one that is the mobile...