NEW 263340
Web Inspector: Can't debug Web Extension Service Workers
https://bugs.webkit.org/show_bug.cgi?id=263340
Summary Web Inspector: Can't debug Web Extension Service Workers
Timothy Hatcher
Reported 2023-10-18 15:09:52 PDT
When pausing in the debugger at a breakpoint in a service worker, I can't inspect any local variables in scope, nor can I resume the script with the play button after it is paused. The service worker is frozen and dead at that point and can't be continued. This is affecting web extensions at least, which are slightly different from normal service workers in that they run on the main thread. An example extension can be found on bug 263170.
Attachments
Timothy Hatcher
Comment 1 2023-10-18 15:11:44 PDT
I am also unable to execute anything in the console.
Radar WebKit Bug Importer
Comment 2 2023-10-18 15:21:37 PDT
Note You need to log in before you can comment on or make changes to this bug.