Running and Debugging

Running Code

The OpenSiv3D for Web project is already configured to build, launch a local server. Just clicking [|> WebAssembly Debugger ] will trigger building project, launch a local server and a browser.



With the extension Emscripten Debugger for Visual Studio, breakpoints and variable dump are available while debugging as usual in other application development that targeting desktops.

You can also use break points in browsers’ development tools. With Chrome DWARF Debugging, you will be able to use variables watching in Chrome development tools. Follow the instructions in Debugging WebAssembly with modern tools.