On safari on your Mac:
Connect your iPhone with a USB charger.
Go to developer tools.
Select on the iPhone to open the console of the mobile website.
To view it on Chrome on Mac:
https://medium.com/@nikoloza/how-to-debug-remote-ios-device-using-chrome-devtools-f44d697003a7