In Settings/Safari, there is a Databases entry that allows me to view databases that have been created on my iPad (not their contents, but their size and origin).
However, I don't see any way to see what's in localStorage. I'm using the console to access localStorage in Safari (Develop > Show Web Inspector and clicking on the Storage tab).
Is there a way to view localStorage on the iPad that I'm missing?
Thanks
In Settings/Safari, there is a Databases entry that allows me to view databases that have been created on my iPad (not their contents, but their size and origin).
However, I don't see any way to see what's in localStorage. I'm using the console to access localStorage in Safari (Develop > Show Web Inspector and clicking on the Storage tab).
Is there a way to view localStorage on the iPad that I'm missing?
Thanks
Share Improve this question asked May 3, 2011 at 17:14 ElisabethElisabeth 3,0326 gold badges37 silver badges40 bronze badges2 Answers
Reset to default 10If you have access to an Apple puter, you can use Safari's Web Inspector to inspect stuff on your iPad - including localStorage and sessionStorage.
In your iPad, go to
Settings
>Safari
>Advanced
and turn onAllow Remote Debugging
.Then, plug it into your Apple puter.
In Safari, go to your settings and choose
Advanced
. Check the box that saysShow Develop menu in the menu bar
.Now, if you click on
develop
on the top menu bar, you will be able to see your iPad. You will be able to inspect elements and use it much like Webkit's Web Inspector.
Currently, though, it is not using the standard Webkit inspector - and many people have an issue with this.
You can access localStorage with javascript mands. (See https://developer.mozilla/en/dom/storage#localStorage for reference.)
To debug remotely, try using http://jsconsole./.
Also, you can enable viewing of console.log() output under iPad Settings -> Safari, which might help you debug locally.