Skip to content

Commit

Permalink
Add launch action to use LLDB to attach to existing process (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelmello committed Apr 8, 2023
1 parent 1c86107 commit 7a0143a
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .vscode/launch.json
Expand Up @@ -4,17 +4,18 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "attach",
"pid": "${command:pickProcess}",
"name": "Debug running process"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'inquire'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=inquire"
],
"args": ["test", "--no-run", "--lib", "--package=inquire"],
"filter": {
"name": "inquire",
"kind": "lib"
Expand All @@ -28,11 +29,7 @@
"request": "launch",
"name": "Debug example 'multiselect'",
"cargo": {
"args": [
"build",
"--example=multiselect",
"--package=inquire"
],
"args": ["build", "--example=multiselect", "--package=inquire"],
"filter": {
"name": "multiselect",
"kind": "example"
Expand All @@ -46,11 +43,7 @@
"request": "launch",
"name": "Debug example 'text_simple'",
"cargo": {
"args": [
"build",
"--example=text_simple",
"--package=inquire"
],
"args": ["build", "--example=text_simple", "--package=inquire"],
"filter": {
"name": "text_simple",
"kind": "example"
Expand Down Expand Up @@ -79,4 +72,4 @@
"cwd": "${workspaceFolder}"
}
]
}
}

0 comments on commit 7a0143a

Please sign in to comment.