Cannot debug web worker when the sources of the main window and the worker are the same |
||
Issue descriptionUserAgent: Mozilla/5.0 (X11; CrOS x86_64 10452.99.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.203 Safari/537.36 Steps to reproduce the problem: I have a code written in typescript that I compile to two binaries. 1 - For main window page and 2 - for web worker The web worker and the main window share some classes. there are source maps for the two binaries. when I set a breakpoint on one of the shared classes it always breaks only on the main page which means that I cannot debug it on the worker. What is the expected behavior? I would like it to break in both contexts (ideally I could choose which context) What went wrong? it breaks only on the main window. Did this work before? N/A Chrome version: 66.0.3359.203 Channel: n/a OS Version: 10452.99.0 Flash Version:
,
Aug 16
One option is to break in both execution contexts. Another is to add an option to the breakpoint itself to choose which execution contexts should be used (default will be for both)
,
Sep 24
I landed some CLs that should fix this one and I checked it in latest Canary and it looks fixed. Feel free to file another issue if it is not. |
||
►
Sign in to add a comment |
||
Comment 1 by l...@chromium.org
, Aug 16Status: Assigned (was: Unconfirmed)