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
| Name | Type | Description |
|---|---|---|
add(value) | input + key | Logs the value and the generated key |
put(value) | input + key | Logs the value and the key |
get(key) | key | Logs the key being retrieved |
getAll() | call | Logs that getAll was called |
delete(key) | key | Logs the key being deleted |
clear() | call | Logs that clear was called |
count() | call | Logs that count was called |
Debug mode is disabled by default. Remember to turn it off in production!