-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
It's hard to reproduce this one since it happens quite randomly.
My issue is that sometimes the .attach raises a "Frame has been detached." error even though the page is not attached yet. I remember in v0.14 I didn’t face a similar issue.
I’ll try to file a reproduction, but as it’s hard to reproduce, will take sometime to setup a example, because I still not sure why this issue happens, I only see it about 1 out of 10 times.
I even tried writing a code like this to make sure there is no attaching debugger but still doesn't work
const targets = await chrome.debugger.getTargets()
await Promise.allSettled(targets.map((t) => chrome.debugger.detach({ targetId: t.id }).catch(() => {})))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels