Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add launch action to use LLDB to attach to existing process #111

Merged
merged 2 commits into from Apr 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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}"
}
]
}
}