veilid/.vscode/launch.json

132 lines
3.2 KiB
JSON
Raw Normal View History

2021-11-22 11:28:30 -05:00
{
// 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": "attach",
"name": "Attach to veilid-server",
2021-12-07 22:09:45 -05:00
"program": "${workspaceFolder}/target/debug/veilid-server",
2021-11-22 11:28:30 -05:00
"pid": "${command:pickMyProcess}"
},
{
"type": "lldb",
"request": "launch",
"name": "Launch veilid-cli",
"args": ["--debug"],
2021-12-07 22:09:45 -05:00
"program": "${workspaceFolder}/target/debug/veilid-cli",
2021-11-22 11:28:30 -05:00
"windows": {
2021-12-07 22:09:45 -05:00
"program": "${workspaceFolder}/target/debug/veilid-cli.exe"
2021-11-22 11:28:30 -05:00
},
2021-12-07 22:09:45 -05:00
"cwd": "${workspaceFolder}/target/debug/",
2021-11-22 11:28:30 -05:00
"sourceLanguages": ["rust"],
"terminal": "console"
},
// {
// "type": "lldb",
// "request": "launch",
// "name": "Debug veilid-server",
// "cargo": {
// "args": ["run", "--manifest-path", "veilid-server/Cargo.toml"]
// },
// "args": ["--trace"],
// "cwd": "${workspaceFolder}/veilid-server"
// }
{
"type": "lldb",
"request": "launch",
"name": "Debug veilid-server",
2021-12-07 22:09:45 -05:00
"program": "${workspaceFolder}/target/debug/veilid-server",
2021-11-22 11:28:30 -05:00
"args": ["--trace", "--attach=true"],
2021-12-07 22:09:45 -05:00
"cwd": "${workspaceFolder}/target/debug/",
2021-11-22 11:28:30 -05:00
"env": {
"RUST_BACKTRACE": "1"
},
"terminal": "console"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug veilid-core unit test",
"cargo": {
"args": [
"test",
"--no-run",
"--manifest-path",
"veilid-core/Cargo.toml"
],
"filter": {
"kind": "cdylib",
"name": "veilid-core"
}
},
"args": ["${selectedText}"],
2021-12-07 22:09:45 -05:00
"cwd": "${workspaceFolder}/target/debug/"
2021-11-22 11:28:30 -05:00
},
{
"type": "lldb",
"request": "launch",
"name": "Debug veilid-server unit test",
"cargo": {
"args": [
"test",
"--no-run",
"--manifest-path",
"veilid-server/Cargo.toml"
],
"filter": {
"kind": "bin",
"name": "veilid-server"
}
},
"args": ["${selectedText}"],
"cwd": "${workspaceFolder}/veilid-server"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug keyvaluedb-sqlite unit test",
"cargo": {
"args": [
"test",
"--no-run",
"--manifest-path",
"external/keyvaluedb/keyvaluedb-sqlite/Cargo.toml"
],
"filter": {
"kind": "lib",
"name": "keyvaluedb-sqlite"
}
},
"args": ["${selectedText}"],
"cwd": "${workspaceFolder}/external/keyvaluedb/keyvaluedb-sqlite"
2022-01-08 23:33:25 -05:00
},
{
"type": "lldb",
"request": "launch",
"name": "Debug keyring unit test",
"cargo": {
"args": [
"test",
"--no-run",
"--manifest-path",
"external/keyring-rs/Cargo.toml"
],
"filter": {
"kind": "staticlib",
"name": "keyring"
}
},
"args": ["${selectedText}"],
"cwd": "${workspaceFolder}/external/keyring-rs"
2021-11-22 11:28:30 -05:00
}
]
}