gbserver/.vscode/launch.json

79 lines
2.1 KiB
JSON
Raw Permalink Normal View History

2024-12-25 17:16:05 -03:00
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug GB API Server",
"cargo": {
2024-12-26 10:09:39 -03:00
"args": [
"build",
"--bin=gb-server"
2024-12-26 10:09:39 -03:00
],
2024-12-25 17:16:05 -03:00
"filter": {
"name": "gb-server",
2024-12-25 17:16:05 -03:00
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}",
"env": {
"RUST_LOG": "info",
2024-12-25 21:28:16 -03:00
"DATABASE_URL": "postgres://gbuser:gbpassword@localhost:5432/generalbots",
2024-12-25 17:16:05 -03:00
"REDIS_URL": "redis://localhost:6379"
}
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'gb-server'",
2024-12-25 17:16:05 -03:00
"cargo": {
2024-12-26 10:09:39 -03:00
"args": [
"test",
"--no-run",
"--lib",
"--package=gb-server"
2024-12-26 10:09:39 -03:00
],
2024-12-25 17:16:05 -03:00
"filter": {
"name": "gb-server",
2024-12-26 10:09:39 -03:00
"kind": "bin"
2024-12-25 17:16:05 -03:00
}
},
2024-12-26 10:09:39 -03:00
"args": [
"--test-threads=1"
],
"cwd": "${workspaceFolder}", "env": {
"RUST_LOG": "info"
}
2024-12-25 17:16:05 -03:00
},
{
"type": "lldb",
"request": "launch",
"name": "Debug Integration Tests",
"cargo": {
2024-12-26 10:09:39 -03:00
"args": [
"test",
"--no-run",
"--lib",
"--package=gb-server"
2024-12-26 10:09:39 -03:00
],
2024-12-25 17:16:05 -03:00
"filter": {
"name": "integration",
"kind": "test"
}
},
"args": [],
"cwd": "${workspaceFolder}", "env": {
"RUST_LOG": "info"
}
2024-12-26 10:09:39 -03:00
},
2024-12-25 17:16:05 -03:00
],
"compounds": [
{
"name": "API Server + Debug",
2024-12-26 10:09:39 -03:00
"configurations": [
"Debug GB API Server"
]
2024-12-25 17:16:05 -03:00
}
]
}