I need to debug my HTML5 app in iPhone Safari - so I turned it on, tried to publish, and a message popped up saying it had to be turned off. Is this a change - this is how I always used to do it?
I need to debug my HTML5 app in iPhone Safari - so I turned it on, tried to publish, and a message popped up saying it had to be turned off. Is this a change - this is how I always used to do it?
Hello,
Please use weinre on apps which are exported from the appery.io. You don't have to publish them into app store with enabled weinre debugger.
Thank you. Is my understanding (based on the docs) of precise steps for debugging a pure html5 app on an iPhone's Safari correct?
Hi Robert - Sergiy is saying that Weinre debugger is meant to be used with exported binary packages that are running on a device.
For the web app (HTML5 app) you can use browser developer tools, but if you needed to debug your app that's running on iOS device, you will need to do the following:
Connect your iOS device to a Mac;
Run your web app in the mobile Safari browser;
Open Safari on your Mac and open Develop tools in the upper menu and select your iOS device on which your web app is running.
You'll see developer tools window which will shows the runtime of your web app on a device.
Illya, thank you. Since I have always been able to debug essentially through the steps I outlined, I assume the method has been changed - correct? My problem is that I don't have a regular Mac - I have a mini mac and don't see how the phone can be "connected" to it other than Blue-tooth which I've never been able to get working.
Robert, Weinre is remote debugger and can work the way you've described too.
I'm just telling you the other option for debugging web apps on iOS and Mac.
In Mac mini you have USB ports in the back, so just connect your iOS device with USB cable and here you go!
You've been tremendously helpful Illya, thanks a million.