mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-28 19:45:33 +00:00

Implement WAMR-IDE with vscode extension to enable developing WebAssembly applications with coding, building, running and debugging support. Support both Linux and Windows, and only support putting all the tools in a docker image, e.g. wasi-sdk, wamrc, iwasm and so on. Co-authored-by: Wang Ning <justdoitwn@163.com>
12 lines
740 B
Markdown
12 lines
740 B
Markdown
### If you want to enable `source debugging` for this extension, please build `lldb` firstly following this [instruction](../../../../../doc/source_debugging.md#debugging-with-interpreter).
|
|
|
|
### After building(`linux` for example), create `bin` folder and `lib` folder respectively in current directory, add following necessary target files into the folders.
|
|
|
|
```shell
|
|
/llvm/build-lldb/bin/lldb # move this file to resource/debug/bin/
|
|
/llvm/build-lldb/bin/lldb-vscode # move this file to resource/debug/bin/
|
|
/llvm/build-lldb/lib/liblldb.so.13 # move this file to resource/debug/lib/
|
|
```
|
|
|
|
### Then you can start the extension and run the execute source debugging by clicking the `debug` button in the extension panel.
|