@squillace raised that he'd like to see this sample also include a debugging flow. For reference what we did in the Rust sample, https://github.com/bytecodealliance/sample-wasi-http-rust/pull/55 and https://github.com/bytecodealliance/sample-wasi-http-rust/pull/56 might be helpful.