nn
This commit is contained in:
@@ -29,6 +29,9 @@ const useExtensionStore = create<ExtensionState>(() => ({
|
||||
errorText: undefined,
|
||||
}))
|
||||
|
||||
// @ts-ignore
|
||||
globalThis.state = useExtensionStore
|
||||
|
||||
async function resetDebugger() {
|
||||
let targets = await chrome.debugger.getTargets()
|
||||
targets = targets.filter((x) => x.tabId && x.attached)
|
||||
|
||||
@@ -328,7 +328,7 @@ export class RelayConnection {
|
||||
}
|
||||
|
||||
if (!targetTab) {
|
||||
throw new Error(`No tab found for sessionId: ${sessionId}`);
|
||||
throw new Error(`No tab found for method ${method} sessionId: ${sessionId}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user