WASM is a compilation target. Think of it as a little machine in the browser you're writing code for. While you technically could write direct WASM code, the idea here is to have other languages compile to it, which you could then debug as normal.
Outside of needing some extreme performance optimization, most web developers should never need to read or write WASM code.