Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
shrinktofit committed Dec 17, 2023
1 parent 78ac982 commit 2bd702d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/_posts/Emscripten.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,11 @@ toc: true
}
```

# 调试 Emscripten WebAssembly

- 确保编译和链接选项 `-g`

- 如果是用 CMake 构建的,需要设置 CMake 变量 `CMAKE_BUILD_TYPE``Debug`

> 见:https://stackoverflow.com/questions/72120889/generating-debug-info-with-emscripten-ninja-cmake-on-complex-project

0 comments on commit 2bd702d

Please sign in to comment.