veilid/.vscode/launch.json

192 lines
4.5 KiB
JSON
Raw Normal View History

2021-11-22 10:28:30 -06: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",
2023-03-04 14:16:03 -06:00
"inputs": [
{
"id": "pickPid",
"type": "promptString",
"description": "Enter process id"
}
],
2021-11-22 10:28:30 -06:00
"configurations": [
2023-06-14 20:06:10 -05:00
{
"name": "Python: Attach using Process Id",
"type": "python",
"request": "attach",
"processId": "${command:pickProcess}",
"justMyCode": true
},
2021-11-22 10:28:30 -06:00
{
"type": "lldb",
"request": "attach",
"name": "Attach to veilid-server",
2021-12-07 21:09:45 -06:00
"program": "${workspaceFolder}/target/debug/veilid-server",
2023-03-03 16:17:23 -06:00
"pid": "${command:pickMyProcess}",
"sourceLanguages": [
"rust"
]
2021-11-22 10:28:30 -06:00
},
2022-05-18 09:17:04 -05:00
{
"type": "lldb",
"request": "attach",
"name": "Attach to veilid-cli",
"program": "${workspaceFolder}/target/debug/veilid-cli",
2023-03-03 16:17:23 -06:00
"pid": "${command:pickMyProcess}",
"sourceLanguages": [
"rust"
]
2022-05-18 09:17:04 -05:00
},
2022-03-10 08:51:53 -06:00
{
"type": "lldb",
"request": "attach",
"name": "Attach to veilid-flutter example",
"program": "${workspaceFolder}/veilid-flutter/example/build/linux/x64/debug/bundle/veilid_example",
2023-03-03 16:17:23 -06:00
"pid": "${command:pickMyProcess}",
"sourceLanguages": [
"rust",
"dart"
]
2022-03-10 08:51:53 -06:00
},
2021-11-22 10:28:30 -06:00
{
"type": "lldb",
"request": "launch",
"name": "Launch veilid-cli",
2022-06-15 13:05:04 -05:00
"args": [
"--debug"
],
2021-12-07 21:09:45 -06:00
"program": "${workspaceFolder}/target/debug/veilid-cli",
2021-11-22 10:28:30 -06:00
"windows": {
2021-12-07 21:09:45 -06:00
"program": "${workspaceFolder}/target/debug/veilid-cli.exe"
2021-11-22 10:28:30 -06:00
},
2021-12-07 21:09:45 -06:00
"cwd": "${workspaceFolder}/target/debug/",
2022-06-15 13:05:04 -05:00
"sourceLanguages": [
"rust"
],
2021-11-22 10:28:30 -06:00
"terminal": "console"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug veilid-server",
2021-12-07 21:09:45 -06:00
"program": "${workspaceFolder}/target/debug/veilid-server",
2022-06-15 13:05:04 -05:00
"args": [
"--trace",
"--attach=true"
],
2021-12-07 21:09:45 -06:00
"cwd": "${workspaceFolder}/target/debug/",
2021-11-22 10:28:30 -06:00
"env": {
"RUST_BACKTRACE": "1"
},
"terminal": "console"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug veilid-core unit test",
"cargo": {
"args": [
"test",
"--no-run",
2023-03-01 19:12:30 -06:00
"--features=rt-tokio",
2021-11-22 10:28:30 -06:00
"--manifest-path",
"veilid-core/Cargo.toml"
],
"filter": {
"kind": "cdylib",
"name": "veilid-core"
}
},
2022-06-15 13:05:04 -05:00
"args": [
"${selectedText}"
],
2021-12-07 21:09:45 -06:00
"cwd": "${workspaceFolder}/target/debug/"
2021-11-22 10:28:30 -06:00
},
2023-06-23 14:55:02 -05:00
{
"type": "lldb",
"request": "launch",
"name": "Debug veilid-tools unit test",
"cargo": {
"args": [
"test",
"--no-run",
"--features=rt-tokio",
"--manifest-path",
"veilid-tools/Cargo.toml"
],
"filter": {
"kind": "cdylib",
"name": "veilid-tools"
}
},
"args": [
"${selectedText}"
],
"cwd": "${workspaceFolder}/target/debug/"
},
2021-11-22 10:28:30 -06: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"
}
},
2022-06-15 13:05:04 -05:00
"args": [
"${selectedText}"
],
2021-11-22 10:28:30 -06:00
"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"
}
},
2022-06-15 13:05:04 -05:00
"args": [
"${selectedText}"
],
2021-11-22 10:28:30 -06:00
"cwd": "${workspaceFolder}/external/keyvaluedb/keyvaluedb-sqlite"
2022-06-15 13:05:04 -05:00
},
2022-01-08 22:33:25 -06: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"
}
},
2022-06-15 13:05:04 -05:00
"args": [
"${selectedText}"
],
2022-01-08 22:33:25 -06:00
"cwd": "${workspaceFolder}/external/keyring-rs"
2021-11-22 10:28:30 -06:00
}
]
2022-06-15 13:05:04 -05:00
}