Connect your iOS device to an available Mac. Open both Safari on your Mac and iOS device.

Go to Safari's "Develop" menu and after the first menu divider should be the name of the iOS device you are trying to access. Within the sub menu, select the page you want to debug.

Safari's Developer Tools will appear in a pop up window allowing you to debug the mobile site that appears on the device.