Skip to content

Commit

Permalink
feat(vscode): add launch profiles for all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Zageron committed Oct 8, 2022
1 parent 918f5fe commit 84e49ec
Showing 1 changed file with 370 additions and 0 deletions.
370 changes: 370 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,370 @@
{
// 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": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'rrr'",
"cargo": {
"args": [
"build",
"--bin=rrr",
"--package=rrr"
],
"filter": {
"name": "rrr",
"kind": "bin"
}
},
"args": [
"tui"
],
"cwd": "${workspaceFolder}",
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'rrr'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=rrr",
"--package=rrr"
],
"filter": {
"name": "rrr",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_audio'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_audio"
],
"filter": {
"name": "rrr_audio",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_chart'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_chart"
],
"filter": {
"name": "rrr_chart",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_config'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_config"
],
"filter": {
"name": "rrr_config",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_core'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_core"
],
"filter": {
"name": "rrr_core",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_settings_core'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_settings_core"
],
"filter": {
"name": "rrr_settings_core",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_math'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_math"
],
"filter": {
"name": "rrr_math",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_data'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_data"
],
"filter": {
"name": "rrr_data",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_fetch'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_fetch"
],
"filter": {
"name": "rrr_fetch",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_game'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_game"
],
"filter": {
"name": "rrr_game",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_input'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_input"
],
"filter": {
"name": "rrr_input",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_render'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_render"
],
"filter": {
"name": "rrr_render",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_settings'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_settings"
],
"filter": {
"name": "rrr_settings",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_internal'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_internal"
],
"filter": {
"name": "rrr_internal",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_noteskin'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_noteskin"
],
"filter": {
"name": "rrr_noteskin",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_time'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_time"
],
"filter": {
"name": "rrr_time",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_tui'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_tui"
],
"filter": {
"name": "rrr_tui",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'rrr_window'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=rrr_window"
],
"filter": {
"name": "rrr_window",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}

0 comments on commit 84e49ec

Please sign in to comment.