cpp2wasm icon indicating copy to clipboard operation
cpp2wasm copied to clipboard

Debugging webassembly in Chrome

Open sverhoeven opened this issue 5 years ago • 0 comments
trafficstars

Chrome is getting debugging support for WebAssembly modules. Aka add breakpoint on a C++ line in DevTools. It would be nice to have a chapter about debugging once this support has been included in Chrome.

To get debugging working you need to enable Dwarf while compiling, see https://emscripten.org/docs/debugging/CyberDWARF.html

sverhoeven avatar Jul 03 '20 14:07 sverhoeven