mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
0fa0beba94
- Temporarily disable the deque test for the VS Code extension, as the Rust formatter seems to malfunction after a recent VS Code update. - Add configuration for iwasm host managed heap size, allowing users to flexibly `malloc` memory. This also fixes the current bug that when default size is 0, it can't run and debug. - Apply coding style formatting for WAMR IDE source code and add a format check for it in CI. - Update document and some screenshots. |
||
---|---|---|
.. | ||
.vscode | ||
formatters | ||
resource | ||
src | ||
.eslintrc.json | ||
.gitignore | ||
.npmrc | ||
.prettierrc.json | ||
.vscodeignore | ||
CONTRIBUTING.md | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json |
Introduction
An integrated development environment for WASM.
How to debug this extension
Note that when you download and decompress to get .vsix file from our release. It's by default that the
source debugging
feature is not enabled. If you want to enable thesource debugging
feature of this extension, you could downloadlldb
from our release (This is the recommended way, and you could do it with a single click in VS Code). Then if you want to use your customized lldb patch, you could build your own version oflldb
and then follow this instruction to put them in the correct path
1. open VSCode_Extension
directory with the vscode
File -> Open Folder -> select `VSCode_Extension`
2. run npm install
in terminal
to install necessary dependencies.
3. click F5
or ctrl+shift+D
switch to Run and Debug
panel and click Run Extension
to boot.
Code Format
prettier
is recommended and .prettierrc.json
has been provided in workspace.
More details and usage guidance please refer prettier
You can run following commands in current extension directory to check and apply
# install prettier firstly
npm install --save-dev prettier
# check format
npm run prettier-format-check
# apply
npm run prettier-format-apply