chore: add Visual Studio Code LLDB config for the Rust demo
This commit is contained in:
14
demos/rust/.vscode/launch.json
vendored
14
demos/rust/.vscode/launch.json
vendored
@@ -7,8 +7,18 @@
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug",
|
||||
"program": "${workspaceFolder}/target/debug/rust_demo",
|
||||
"name": "run rust demo",
|
||||
"cargo": {
|
||||
"args": [
|
||||
"build",
|
||||
"--bin=rust_demo",
|
||||
"--package=rust_demo",
|
||||
],
|
||||
"filter": {
|
||||
"name": "rust_demo",
|
||||
"kind": "bin",
|
||||
},
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
}
|
||||
|
||||
8
demos/rust/.vscode/settings.json
vendored
Normal file
8
demos/rust/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"debugVisualizer.debugAdapterConfigurations": {
|
||||
"lldb": {
|
||||
"expressionTemplate": "${expr}",
|
||||
"context": "watch"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user