From 5e967548b5c1ce7a4c5f2144fa56ab0020b81916 Mon Sep 17 00:00:00 2001 From: Ralph Squillace Date: Mon, 17 Mar 2025 11:08:19 +0100 Subject: [PATCH] Update README.md to add debugging instructions --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 65e5d64..fdc738f 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ The HTTP server uses the `wasi:http/proxy` world. You can run it locally in a ```rust $ cargo component serve ``` +### Note on Debugging +There are launch and task configuration files if you want to use VSCode for debugging in an IDE; however, if you prefer using GDB or LLDB directly the configuration files should be enough to get you up and running. Note that the [GDB configuration requires an absolute path](https://github.com/bytecodealliance/sample-wasi-http-rust/blob/fe47fc9f6c87d09575f6683a26f9a67e3e71aa26/.vscode/launch.json#L28), so that configuration in VSCode you will need to modify for your computer. ## Deploying published artifacts