Interacting with and debugging Wasm modules will be done in the browser, which means we'll need a way to serve up a folder containing our example files. As we discussed in Chapter 2, Elements of WebAssembly - Wat, Wasm, and the JavaScript API, WebAssembly is integrated into the browser's JavaScript engine, but you'll need to make sure you're using a browser that supports it. In this section, we will provide instructions for cloning the book examples repository. We will also review how to quickly set up a local web server for testing and evaluating browser options to ensure that you're able to develop locally.
You may want to clone the GitHub repository now with all of the examples contained in this book. You'll definitely need to have the code available for Chapter 7, Creating an Application from Scratch, because the application's code base is too large to fit into a single chapter. Select a folder on your hard drive and run the...