aboutsummaryrefslogtreecommitdiffstats
path: root/extension
diff options
context:
space:
mode:
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) {