From c890af8d9cf46403c4bbf28f1ad080d6d0382ef7 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 29 Nov 2020 02:08:32 -0500 Subject: [PATCH] Shows debug tree hovers with debug flag --- src/views/viewBase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/viewBase.ts b/src/views/viewBase.ts index 8726f85..e885e1c 100644 --- a/src/views/viewBase.ts +++ b/src/views/viewBase.ts @@ -109,7 +109,7 @@ export abstract class ViewBase< private readonly _lastKnownLimits = new Map(); constructor(public readonly id: string, public readonly name: string) { - if (Logger.isDebugging) { + if (Logger.isDebugging || Container.config.debug) { const getTreeItem = this.getTreeItem; this.getTreeItem = async function (this: ViewBase, node: ViewNode) { const item = await getTreeItem.apply(this, [node]);