Add Emscripten debug build targets with DWARF and source maps, closes #238
Adds MCRF_WASM_DEBUG CMake option that enables -g4, -gsource-map, and --emit-symbol-map for WASM builds. New Makefile targets: wasm-debug, playground-debug, serve-wasm-debug, serve-playground-debug. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a4e0b97ecb
commit
5ce5b5779a
3 changed files with 64 additions and 2 deletions
|
|
@ -311,6 +311,8 @@ make serve # Serve at http://localhost:8080
|
|||
|--------|------------------|---------|
|
||||
| `make wasm` | `build-emscripten/` | Full game with all scripts/assets |
|
||||
| `make playground` | `build-playground/` | Minimal REPL build for interactive testing |
|
||||
| `make wasm-debug` | `build-wasm-debug/` | Debug build with DWARF symbols and source maps |
|
||||
| `make playground-debug` | `build-playground-debug/` | Debug playground with DWARF and source maps |
|
||||
|
||||
### Rendering Backend Selection
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue