vscode-js-debug/testWorkspace
Connor Peet 72c0276263
feat: support basic webassembly debugging (#1791)
* feat: support basic webassembly debugging

Supports viewing, stepping through, and setting breakpoints in
webassembly (decompiled as WAT) in the editor. Includes a
basic tmLanguage for WAT.

![](https://memes.peet.io/img/23-08-b7617299-9f8d-41c9-8fe0-ada8a3c57966.png)

Unfortunately we eagerly have to decompile WASM in order to get line
mappings to show e.g. in breakpoints. Location mapping is currently
mostly synchronous and I didn't want to make everything async
for webassembly. However, we don't keep the WAT source in memory,
instead request it again if it's needed. I opted to do this to reduce
memory usage for user applications that just happen to contain WASM
where they aren't always interested in debugging it.

For #1789
Fixes #1715 on the way

* retain wasm-set breakpoints between reloads
2023-08-27 12:24:30 -07:00
..
babelLineNumbers
chakracore
customDebuggerDescriptions
glob(chars)
hashTestCases
moduleWrapper
nestedAbsRoot
nestedSourceMaps
nodeModuleBreakpoint
nodePathProvider
node_modules/browser-pack
simpleNode
sourceMapLocations
sourceQueryString
tsNode
tsNodeApp
web
webpackNulByte
webview/win