Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Node.js debugging async/await with Babel transpilation not working, breakpoints jumping #45345
Steps to Reproduce:
Expected behavior - I can step through the code as normal debugging steps
Actual behavior - breakpoints jump to function declaration line
Note - When I remove async/await from code, debugging works as expected.
Does this issue occur when all extensions are disabled?: Yes
Package.json scripts section
Update. Example of function where breakpoints can't be set. Almost any line I try to set a breakpoint on, the breakpoint puts itself on the exports.createUser line.
Makes sense, bummer. I'll look into opening this issue against them. Seems like it is only around async/await, found one other issue babel/babel#2515 talking about in relation to Babel but they closed it as not actionable. Do you happen to know if there is a spec where I can point them to specifically what is not implemented correctly?