aboutsummaryrefslogtreecommitdiffstats
path: root/extension
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2020-12-27 18:04:15 -0800
committerOmar Rizwan <omar@omar.website>2020-12-27 18:04:15 -0800
commitfb6ed2b2f472c814f2f24d12e9b24a19f850604b (patch)
treed6ecce9c34dfe7ff5d7271db83b39508f46af1d1 /extension
parentab34a525dcafeb7e941748b67e05760839ffa4ff (diff)
add tabfs.md (hard linked into website)
Diffstat (limited to 'extension')
-rw-r--r--extension/background.js4
1 files changed, 3 insertions, 1 deletions
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) {