问题
I am trying to store data in a "Metro" App for Windows 8 using IndexedDB.
I would like to be able to browse the database (to monitor that my operations modify the data as intended). So my question is; Is there any way of viewing the actual database of a metro app (IE10)? (something like in Chrome Dev Tools (Resources > IndexedDB))
Regards
回答1:
Not that I know, but my linq2indexeddb library has a viewer in it. That way you can inspect the content of you database while debugging. The nuget package for Metro apps can be found here. And as last, I have a blogpost on how you can use it.
回答2:
The IE team has a blog post Debugging IndexedDB Applications that includes an IDBExplorer module that you can incorporate into your application (for testing, not recommended for production)
来源:https://stackoverflow.com/questions/12581523/metro-indexeddb-browsing-the-database