Advanced

Debug Mode

Enable console logging to trace all IndexedDB operations.

Enable debug mode

Set debug: true in your database configuration to log all store operations to the console.

debug.ts

What gets logged

NameTypeDescription
add(value) input + keyLogs the value and the generated key
put(value) input + keyLogs the value and the key
get(key) keyLogs the key being retrieved
getAll() callLogs that getAll was called
delete(key) keyLogs the key being deleted
clear() callLogs that clear was called
count() callLogs that count was called

Debug mode is disabled by default. Remember to turn it off in production!