How to Use Developer Tools in Safari on iOS
To enable the Debug Console in Safari, follow these instructions.
Tap the Settings icon on the iPhone or iPad desktop.
The Settings screen opens.
Tap to choose Safari from the list of software available on your device.
The Safari Settings screen opens.
Scroll to the bottom of the screen and then tap Developer.
The Developer screen appears.
Touch the On button to activate the Debug Console.