dexie / Dexie.js

A Minimalistic Wrapper for IndexedDB
https://dexie.org
Apache License 2.0
11.59k stars 642 forks source link

How to debug internal errors? #554

Open bennycode opened 7 years ago

bennycode commented 7 years ago

We use Dexie in an app based on Electron. When we restart our Electron app (closing it, reopening it) we often get the following error from Dexie:

Internal error opening backing store for indexedDB.open.

Is there a good way to get some more details to this bug? I would like to help debugging this issue.

dfahlander commented 7 years ago

Not what I know of unless you see something from the native IndexedDB implementation in the console log. Might have to dive into the docs of Electron/Chromium on how to turn on debug logging there.

Has this started to occur after a specific Electron release? I recall you had the issue #271 long time ago. That time it happened when Wire was upgraded.

Whatever you find out, please let us and the community know. Maybe there are issues at Electron or other IDB libraries such as PouchDB about this?