diff --git a/packages/client/src/pizzax.ts b/packages/client/src/pizzax.ts index 1a48dc0a2c..de3924da1a 100644 --- a/packages/client/src/pizzax.ts +++ b/packages/client/src/pizzax.ts @@ -125,6 +125,7 @@ export class Storage { this.reactiveState[key].value = rawValue; return this.addIdbSetJob(async () => { + if (_DEV_) console.log(`set ${key} start`); switch (this.def[key].where) { case 'device': { const deviceState = await get(this.deviceStateKeyName) || {}; @@ -152,6 +153,7 @@ export class Storage { break; } } + if (_DEV_) console.log(`set ${key} complete`); }); }