Skip to content

Commit

Permalink
feat(vscode): add debug targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Jibbajabbafic committed Jan 14, 2024
1 parent 1f96c91 commit df65909
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
// 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 unit tests in library 'game_server_list'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=game_server_list"
],
"filter": {
"name": "game_server_list",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'game_server_list'",
"cargo": {
"args": [
"build",
"--bin=game_server_list",
"--package=game_server_list"
],
"filter": {
"name": "game_server_list",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'game_server_list'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=game_server_list",
"--package=game_server_list"
],
"filter": {
"name": "game_server_list",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}

0 comments on commit df65909

Please sign in to comment.