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

Debug #247

Closed
wants to merge 2 commits into from
Closed

Debug #247

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
// 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": [
{
"name": "Remote launch",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/target/debug/inputplumber",
"sourceLanguages": ["rust"],
"initCommands": [
"platform select remote-linux",
"platform connect connect://192.168.1.19:1234",
"settings set target.inherit-env false"
],
"env": {
"PATH": "/usr/bin:/usr/local/sbin:/usr/local/bin:/var/lib/flatpak/exports/bin:/usr/lib/rustup/bin"
}
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'inputplumber'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=inputplumber"
],
"filter": {
"name": "inputplumber",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'inputplumber'",
"cargo": {
"args": [
"build",
"--bin=inputplumber",
"--package=inputplumber"
],
"filter": {
"name": "inputplumber",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'inputplumber'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=inputplumber",
"--package=inputplumber"
],
"filter": {
"name": "inputplumber",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
Loading