From fb6ed2b2f472c814f2f24d12e9b24a19f850604b Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Sun, 27 Dec 2020 18:04:15 -0800 Subject: add tabfs.md (hard linked into website) --- extension/background.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extension') diff --git a/extension/background.js b/extension/background.js index 88e5996..89a9847 100644 --- a/extension/background.js +++ b/extension/background.js @@ -55,7 +55,9 @@ async function detachDebugger(tabId) { const TabManager = { tabState: {}, - // higher-level wrapper which avoids unnecessary attaches (do we need this?) + // higher-level wrapper which avoids unnecessary attaches and tries + // to keep debugger attached in a reasonable state whenever you call + // it (do we need this?) debugTab: async function(tabId) { this.tabState[tabId] = this.tabState[tabId] || {}; if (this.tabState[tabId].debugging) { -- cgit v1.2.3