Skip to content

Commit

Permalink
force logging
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Jan 8, 2025
1 parent 184bf64 commit 131d79b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/better-bibtex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 131d79b

Please sign in to comment.