How to attach to web workers target with devtools protocol?

99 views
Skip to first unread message

Heraldo Lucena

unread,
Mar 19, 2022, 2:48:47 PM3/19/22
to Chromium-discuss
I tried using Target.autoAttachRelated to attach to web workers but chrome doesn't sends attachedToTarget events when web workers are created, actually it's sent only for service workers where the target type is "service_worker". Looks like there is no "web_worker" target, right? Is it possible to know when a web worker is created?
Reply all
Reply to author
Forward
0 new messages