-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Async await transformed to ES5 generators not debuggable in Chrome #12390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yeah I've run into this problem too many times |
I have the same problem with the 2.1.1rc |
From Chromium Bug 496865, using Chrome to step into or over lines with Problems that remain:
|
I have no idea what this means but it's really cool. Using the
Does not work with target es5. Works best in Chrome Canary 57 since Chrome Stable 54 seems to syntax-highlight TypeScript incorrectly and make most of the file one large comment. |
Unfortunately, the Chrome Dev Tools do not provide a means to step over generated code that is unmapped, such as the |
@mhegazy is this bug fixed also for chrome debugging? will be available in next typescript release? |
It is not a bug you need configure in settings to skip generated code
(quite a lot of it :-/ )
…On Wed, 18 Jan 2017, 20:18 Claudio, ***@***.***> wrote:
@mhegazy <https://github.com/mhegazy> is this bug fixed also for chrome
debugging? will be available in next typescript release?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12390 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA6dQ04V2Ei0zICpDxJoB06135tmafZrks5rTdj-gaJpZM4K3Zvg>
.
|
@kachalkov does your last comment still apply? It seems that Chrome dev tools still has issues with transpiled async arrow functions. Do you know how to workaround that? |
Have not tried this with latest async await.
On Tue, 1 May 2018, 04:43 Michael Greenspan, ***@***.***> wrote:
@kachalkov <https://github.com/kachalkov> does your last comment still
apply? It seems that Chrome dev tools still has issues with transpiled
async arrow functions. Do you know how to workaround that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12390 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA6dQxoIr3JgnZyWIH3VmNGtycTNHxyiks5tt1tHgaJpZM4K3Zvg>
.
--
Best regards,
Alex
|
Uh oh!
There was an error while loading. Please reload this page.
TypeScript Version: nightly (2.2.0-dev.20161118)
Chrome Version: Stable 54.0.2840.99 (Official Build) m (64-bit) (Revision 7eca4ce1e662f12cadaf96c30cd2335fd03e7140-refs/branch-heads/2840@{#830})
TypeScript Code:
GIF of Issue:
Expected behavior:
Stepping into
method()
on Chrome should step into the original TypeScript file just a few lines up.Actual behavior:
Stepping into
method()
on Chrome steps into the generated ES5 JavaScript file.Instructions to Reproduce:
.ZIP
file).index.html
and follow the instructions on-screen.Possibly related to:
The text was updated successfully, but these errors were encountered: