microsoft / vscode-js-debug

A DAP-compatible JavaScript debugger. Used in VS Code, VS, + more
MIT License
1.67k stars 283 forks source link

debug: fix wasm module pauses for Node #2117

Closed connor4312 closed 3 weeks ago

connor4312 commented 3 weeks ago

Node has a bug where it doesn't report execution contexts properly. We 'backfill' them if we see a script parsed in an unknown execution context, but we didn't handle that in the same way and so didn't set the WASM module pause in the backfilled contexts.

Closes https://github.com/microsoft/vscode/issues/230875