If you encounter a bug or other issue with a website on Safari mobile, use the Web Inspector tool to investigate. This article explains how to use the Safari console for iPhone to debug errors using your Mac computer. Instructions apply to iPhones running iOS 14, iOS 12, or iOS 11, and to Macs running macOS Big Sur (11.0), macOS Catalina (10.15), or macOS Mojave (10.14).
Mobile Safari Web Inspector
The Web Inspector is disabled by default because most iPhone users don’t use it. However, if you’re a developer or just curious, you can enable it in a few short steps. Here’s how:
Open the iPhone's Settings menu.
Scroll down and tap Safari to open the screen that covers everything related to the Safari web browser on your iPhone, iPad, or iPod touch.