diff --git a/src/web/app/common/mios.ts b/src/web/app/common/mios.ts index 550d9e6bfd..a98df1bc03 100644 --- a/src/web/app/common/mios.ts +++ b/src/web/app/common/mios.ts @@ -115,6 +115,9 @@ export default class MiOS extends EventEmitter { this.streams.driveStream = new DriveStreamManager(this.i); this.streams.messagingIndexStream = new MessagingIndexStreamManager(this.i); }); + + // TODO: this global export is for debugging. so disable this if production build + (window as any).os = this; } public log(...args) {