Skip to content

Commit 0c018d6

Browse files
committed
adding basic debug lldb config for vscode codelldb extension
1 parent 3a79690 commit 0c018d6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.vscode/launch.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "lldb",
9+
"request": "launch",
10+
"name": "LLDB Debug",
11+
"program": "wasmtime",
12+
"args": [
13+
"serve",
14+
"-D",
15+
"debug-info=y",
16+
"--dir",
17+
".",
18+
"${workspaceFolder}/target/wasm32-wasip1/debug/sample_wasi_http_rust.wasm",
19+
],
20+
"cwd": "${workspaceFolder}"
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)