You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug executable 'cad_rs'",
|
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--bin=cad_rs",
|
|
|
|
"--package=cad_rs"
|
|
|
|
],
|
|
|
|
"filter": {
|
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"initCommands": [
|
|
|
|
"command script import \"/home/alex/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/etc/lldb_rust_formatters.py\"",
|
|
|
|
"type summary add --no-value --python-function lldb_rust_formatters.print_val -x \".*\" --category Rust",
|
|
|
|
"type category enable Rust"
|
|
|
|
],
|
|
|
|
"sourceLanguages": [
|
|
|
|
"rust"
|
|
|
|
],
|
|
|
|
"args": [],
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug unit tests in executable 'cad_rs'",
|
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"test",
|
|
|
|
"--no-run",
|
|
|
|
"--bin=cad_rs",
|
|
|
|
"--package=cad_rs"
|
|
|
|
],
|
|
|
|
"filter": {
|
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"initCommands": [
|
|
|
|
"command script import \"/home/alex/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/etc/lldb_rust_formatters.py\"",
|
|
|
|
"type summary add --no-value --python-function lldb_rust_formatters.print_val -x \".*\" --category Rust",
|
|
|
|
"type category enable Rust"
|
|
|
|
],
|
|
|
|
"args": [],
|
|
|
|
"sourceLanguages": [
|
|
|
|
"rust"
|
|
|
|
],
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|