QtWasm
QtWasm copied to clipboard
WIP: Source maps to ease debugging
On the final binary, I also have those:
target_link_options(AFIRunner PRIVATE "SHELL:-gsource-map")
target_link_options(AFIRunner PRIVATE "SHELL:-gseparate-dwarf=${CMAKE_CURRENT_BINARY_DIR}/AFIRunner.debug.wasm")
That enables source maps support, usable even on release. That actual gives c++ style stack traces on errors / exception. So I found it pretty usefull