-
Notifications
You must be signed in to change notification settings - Fork 119
Consider swapping sourcemap bias checking order #112
Comments
In node-debug, mapFromSource now does LEAST_UPPER_BOUND without falling back on the other one. MapToSource first does GREATEST_LOWER_BOUND, then falls back on least_upper if it doesn't find anything. I should do that too... |
How does other editors and DevTools do this?
|
It's hard to say since they are usually not using the source-map lib - they end up with the right mapping one way or another. |
For posterity, the main impact of this was Microsoft/vscode-chrome-debug#417 |
@roblourens Regarding #19973, I can confirm that it is still not possible to set breakpoints on async/await code |
+1 having same issue still |
Please open new issues |
IIRC, it's done this way because in some case the source-map lib will return mappings from a previous line, so if you set a breakpoint at line 5, col 0, you might get the mapping from line 4 instead.
The text was updated successfully, but these errors were encountered: