How do you debug and inspect data in IndexedDB in Chrome/Firefox?
Ask by ICSM Computer
Updated 11 Jul 2025
To debug and inspect data in IndexedDB in Chrome or Firefox, use the built-in developer tools. Here's a step-by-step guide for both browsers:
In Chrome DevTools
Step-by-Step:
Ctrl+Shift+I/Cmd+Option+IApplicationTab>>→ Select ApplicationSyncAppDB)items)🛠 Bonus: Live Debugging
db.items.add(), etc.indexedDB.databases()in the Console to list all databasesawait db.items.toArray()(if using Dexie) in the console to inspectIn Firefox DevTools
Step-by-Step:
F12orCtrl+Shift+IStorageTabitems)Pro Tips
indexedDB.deleteDatabase('DB_NAME')db.open()logsNetworktab)console.table(await db.items.toArray())Summary
Application → IndexedDBStorage → IndexedDBawait db.store.toArray()