Reputation: 76057
My web application is malfunctioning when running inside the native Facebook app for iOS (clicking in a link does not open Safari, but an embedded browser inside the app).
When running the iOS emulator, in my desktop safari I have the option to attach the debugger to mobile Safari... So I was wondering if it was possible to do the same with an embedded view running in an iPhone connected with the USB cable.
Another problem that I've seen is that the Facebook app makes a very aggressive caching of any web content, so I cannot refresh the page and see if my changes work. The only way I have found to clean the web cache of the native iOS Facebook app is uninstalling and installing it again. A solution for that will be very welcome too.
Upvotes: 24
Views: 9955
Reputation: 799
I am using this. It works fine to me https://github.com/MicrosoftDX/Vorlonjs very easy to install
$ npm i -g vorlon
$ vorlon
after installation, you need to add this to your app
<script src="http://localhost:1337/vorlon.js"></script>
Upvotes: 1
Reputation: 61
I think the solution to this problem is to use http://jsconsole.com with remote debugging. It will stream in exceptions and log statements remotely.
Upvotes: 6