61 lines
1.8 KiB
JSON
61 lines
1.8 KiB
JSON
{
|
|
// 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 'beteran-server-service'",
|
|
"cargo": {
|
|
"args": [
|
|
"build",
|
|
"--bin=beteran-server-service",
|
|
"--package=beteran-server-service"
|
|
],
|
|
"filter": {
|
|
"name": "beteran-server-service",
|
|
"kind": "bin"
|
|
}
|
|
},
|
|
"env": {
|
|
"URL_DATABASE": "postgresql://beteran:qwer5795QWER@192.168.50.205:25432/beteran",
|
|
"URL_BROKER": "nats://192.168.50.205:4222",
|
|
"QUEUE_BROKER": "bet.beteran",
|
|
"CAPTCHA_SALT": "!#%&(24680qetuWRYI",
|
|
"PASSWORD_SALT": "@$^*)13579wryipQETUO",
|
|
"JWT_SECRET": "!@$^*)13579wryipQETUO!",
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug unit tests in executable 'beteran-server-service'",
|
|
"cargo": {
|
|
"args": [
|
|
"test",
|
|
"--no-run",
|
|
"--bin=beteran-server-service",
|
|
"--package=beteran-server-service"
|
|
],
|
|
"filter": {
|
|
"name": "beteran-server-service",
|
|
"kind": "bin"
|
|
}
|
|
},
|
|
"env": {
|
|
"URL_DATABASE": "postgresql://beteran:qwer5795QWER@192.168.50.205:25432/beteran",
|
|
"URL_BROKER": "nats://192.168.50.205:4222",
|
|
"QUEUE_BROKER": "bet.beteran",
|
|
"CAPTCHA_SALT": "!#%&(24680qetuWRYI",
|
|
"PASSWORD_SALT": "@$^*)13579wryipQETUO",
|
|
"JWT_SECRET": "!@$^*)13579wryipQETUO!",
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
]
|
|
} |