Hacker News new | ask | show | jobs
by flohofwoe 588 days ago
Not in my experience, async JS/TS code is perfectly fine debuggable (at least with setting a breakpoint here and there).
1 comments

the callstacks are hard to read and watching variables across context boundaries is difficult. yea you can pause the program with the debugger, but doing so doesn't give much of a picture of how the program is functioning. I've found seeing the prints from all the 'threads' gives a better sense of what's happening