diff options
Diffstat (limited to 'background/main.ts')
-rw-r--r-- | background/main.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/background/main.ts b/background/main.ts index 1772e0eee..60046e733 100644 --- a/background/main.ts +++ b/background/main.ts @@ -31,6 +31,8 @@ System.config({ System.import("../lib/wallet/wxMessaging") .then((wxMessaging) => { + // Export as global for debugger + (window as any).wxMessaging = wxMessaging; wxMessaging.wxMain(); }) .catch((e) => { |