From 131d79b8003b72f0a1ae75a746cf04bb9a7920d9 Mon Sep 17 00:00:00 2001 From: Emiliano Heyns Date: Wed, 8 Jan 2025 17:02:43 +0100 Subject: [PATCH] force logging --- content/better-bibtex.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/better-bibtex.ts b/content/better-bibtex.ts index a74ea2866..d38656867 100644 --- a/content/better-bibtex.ts +++ b/content/better-bibtex.ts @@ -550,6 +550,11 @@ export class BetterBibTeX { public generateCSLJSON = generateCSLJSON constructor() { + if (!Zotero.Debug.storing) { + log.debug('3127: forcing debug logging on') + Zotero.Debug.setStore(true) + } + this.debugEnabledAtStart = Zotero.Prefs.get('debug.store') || Zotero.Debug.storing if (Zotero.isWin && !is7) Zotero.Debug.addListener(this.logListener.bind(this)) if (Preference.testing) this.TestSupport = new TestSupport