File tree 2 files changed +61
-0
lines changed
2 files changed +61
-0
lines changed Original file line number Diff line number Diff line change
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
+ "preLaunchTask" : " Build WebAssembly" ,
12
+ "program" : " wasmtime" ,
13
+ "args" : [
14
+ " serve" ,
15
+ " -D" ,
16
+ " debug-info=y" ,
17
+ " --dir" ,
18
+ " ." ,
19
+ " ${workspaceFolder}/target/wasm32-wasip1/debug/sample_wasi_http_rust.wasm"
20
+ ],
21
+ "cwd" : " ${workspaceFolder}"
22
+ },
23
+ {
24
+ "name" : " GDB debug" ,
25
+ "type" :" cppdbg" ,
26
+ "request" : " launch" ,
27
+ "preLaunchTask" : " Build WebAssembly" ,
28
+ "program" : " /home/<username>/.wasmtime/bin/wasmtime" ,
29
+ "args" : [
30
+ " serve" ,
31
+ " -D" ,
32
+ " debug-info=y" ,
33
+ " --dir" ,
34
+ " ." ,
35
+ " ${workspaceFolder}/target/wasm32-wasip1/debug/sample_wasi_http_rust.wasm"
36
+ ],
37
+ "cwd" : " ${workspaceFolder}" ,
38
+ "MIMode" : " gdb" ,
39
+ "setupCommands" : [
40
+ {
41
+ "text" : " -enable-pretty-printing" ,
42
+ }
43
+ ]
44
+ }
45
+ ]
46
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : " 2.0.0" ,
3
+ "tasks" : [
4
+ {
5
+ "label" : " Build WebAssembly" ,
6
+ "type" : " shell" ,
7
+ "command" : " cargo component build" ,
8
+ "group" : " build" ,
9
+ "presentation" : {
10
+ "reveal" : " always" ,
11
+ "panel" : " new"
12
+ }
13
+ }
14
+ ]
15
+ }
You can’t perform that action at this time.
0 commit comments