debugging

This commit is contained in:
John Smith
2023-03-04 15:16:03 -05:00
parent ddadf61f06
commit f9d8d1688f
3 changed files with 38 additions and 0 deletions

21
.vscode/launch.json vendored
View File

@@ -3,6 +3,13 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"inputs": [
{
"id": "pickPid",
"type": "promptString",
"description": "Enter process id"
}
],
"configurations": [
{
"type": "lldb",
@@ -14,6 +21,20 @@
"rust"
]
},
{
"type": "lldb",
"request": "launch",
"name": "Launch remote veilid-server",
"program": "${workspaceFolder}/target/debug/veilid-server",
"initCommands": [
"platform select remote-linux",
"platform connect connect://127.0.0.1:6969",
"settings set target.inherit-env false",
],
"sourceLanguages": [
"rust"
]
},
{
"type": "lldb",
"request": "attach",