1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-22 17:44:22 +00:00

Add VSC launch configs

This commit is contained in:
Steffo 2022-10-17 10:40:14 +00:00 committed by GitHub
parent 48fb2b275e
commit e43c42f7f2
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

85
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,85 @@
{
// 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 all unit tests",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--bin=patched_porobot_telegram",
"--bin=patched_porobot_discord",
"--bin=patched_porobot_matrix",
"--package=patched_porobot",
"--all-features"
],
"filter": {
"name": "patched_porobot",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'patched_porobot_telegram'",
"cargo": {
"args": [
"build",
"--bin=patched_porobot_telegram",
"--package=patched_porobot"
],
"filter": {
"name": "patched_porobot_telegram",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'patched_porobot_discord'",
"cargo": {
"args": [
"build",
"--bin=patched_porobot_discord",
"--package=patched_porobot"
],
"filter": {
"name": "patched_porobot_discord",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'patched_porobot_matrix'",
"cargo": {
"args": [
"build",
"--bin=patched_porobot_matrix",
"--package=patched_porobot"
],
"filter": {
"name": "patched_porobot_matrix",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
]
}