2021-11-22 14:17:10 +03:00
|
|
|
{
|
|
|
|
// 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": [
|
|
|
|
{
|
|
|
|
"name": "Debug server",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2022-10-20 10:04:46 +03:00
|
|
|
"args": [
|
|
|
|
"src/__start.ts"
|
|
|
|
],
|
2021-11-22 14:17:10 +03:00
|
|
|
"env": {
|
|
|
|
"ELASTIC_URL": "http://localhost:9200",
|
2021-12-22 12:02:51 +03:00
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"APM_SERVER_URL2": "http://localhost:8200",
|
2022-01-24 12:35:58 +03:00
|
|
|
"METRICS_CONSOLE": "true", // Show metrics in console evert 30 seconds.,
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
2022-05-23 18:53:33 +03:00
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
2022-03-04 12:01:46 +03:00
|
|
|
"SERVER_SECRET": "secret"
|
2021-11-22 14:17:10 +03:00
|
|
|
},
|
2022-10-20 10:04:46 +03:00
|
|
|
"runtimeArgs": [
|
|
|
|
"--nolazy",
|
|
|
|
"-r",
|
|
|
|
"ts-node/register"
|
|
|
|
],
|
2021-11-22 14:17:10 +03:00
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/server/server",
|
|
|
|
"protocol": "inspector"
|
2021-11-25 14:07:44 +03:00
|
|
|
},
|
2022-07-14 05:45:51 +03:00
|
|
|
{
|
|
|
|
"name": "Debug Account",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2022-10-20 10:04:46 +03:00
|
|
|
"args": [
|
2022-11-16 18:03:03 +03:00
|
|
|
"src/__start.ts"
|
2022-10-20 10:04:46 +03:00
|
|
|
],
|
2022-07-14 05:45:51 +03:00
|
|
|
"env": {
|
2022-11-16 18:03:03 +03:00
|
|
|
"MONGO_URL": "mongodb://localhost:27018",
|
2022-07-14 05:45:51 +03:00
|
|
|
"SERVER_SECRET": "secret",
|
2022-11-16 18:03:03 +03:00
|
|
|
"TRANSACTOR_URL": "ws:/localhost:3333",
|
|
|
|
"ACCOUNT_PORT": "3000"
|
2022-07-14 05:45:51 +03:00
|
|
|
},
|
2022-10-20 10:04:46 +03:00
|
|
|
"runtimeArgs": [
|
|
|
|
"--nolazy",
|
|
|
|
"-r",
|
|
|
|
"ts-node/register"
|
|
|
|
],
|
2022-07-14 05:45:51 +03:00
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/pods/account",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
2021-11-25 14:07:44 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Jest tests",
|
|
|
|
"program": "${fileDirname}/../../node_modules/@rushstack/heft/lib/start.js",
|
|
|
|
"cwd": "${fileDirname}/../../",
|
2022-10-20 10:04:46 +03:00
|
|
|
"args": [
|
|
|
|
"--debug",
|
|
|
|
"test",
|
|
|
|
"--clean",
|
|
|
|
"--test-path-pattern",
|
|
|
|
"${file}"
|
|
|
|
],
|
2021-11-25 14:07:44 +03:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"protocol": "inspector"
|
2021-12-10 12:47:54 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug generator",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2022-10-20 10:04:46 +03:00
|
|
|
"args": [
|
|
|
|
"src/index.ts",
|
|
|
|
"gen-recruit",
|
|
|
|
"ws1",
|
|
|
|
"20"
|
|
|
|
],
|
2021-12-10 12:47:54 +03:00
|
|
|
"env": {
|
2022-05-23 18:53:33 +03:00
|
|
|
"TRANSACTOR_URL": "ws:/localhost:3333",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost"
|
2021-12-10 12:47:54 +03:00
|
|
|
},
|
2022-10-20 10:04:46 +03:00
|
|
|
"runtimeArgs": [
|
|
|
|
"--nolazy",
|
|
|
|
"-r",
|
|
|
|
"ts-node/register"
|
|
|
|
],
|
2021-12-10 12:47:54 +03:00
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/dev/generator",
|
|
|
|
"protocol": "inspector"
|
2022-05-23 18:53:33 +03:00
|
|
|
},
|
2021-12-22 12:02:51 +03:00
|
|
|
{
|
2022-10-20 10:04:46 +03:00
|
|
|
"name": "Debug tool import-lead-csv",
|
2021-12-22 12:02:51 +03:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2022-10-20 10:04:46 +03:00
|
|
|
"args": [
|
|
|
|
"src/index.ts",
|
|
|
|
"import-lead-csv",
|
|
|
|
"ws1",
|
|
|
|
"../../../suho/COMPANIES_Agency_of_AlexeyS.csv"
|
|
|
|
],
|
2021-12-22 12:02:51 +03:00
|
|
|
"env": {
|
2022-05-23 18:53:33 +03:00
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"TRANSACTOR_URL": "ws:/localhost:3333",
|
|
|
|
"TELEGRAM_DATABASE": "telegram-service",
|
|
|
|
"ELASTIC_URL": "http://localhost:9200"
|
2021-12-22 12:02:51 +03:00
|
|
|
},
|
2022-10-20 10:04:46 +03:00
|
|
|
"runtimeArgs": [
|
|
|
|
"--nolazy",
|
|
|
|
"-r",
|
|
|
|
"ts-node/register"
|
|
|
|
],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/dev/tool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug tool upgrade",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": [
|
|
|
|
"src/index.ts",
|
|
|
|
"upgrade"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"SERVER_SECRET": "secret",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"TRANSACTOR_URL": "ws:/localhost:3333",
|
|
|
|
"TELEGRAM_DATABASE": "telegram-service",
|
|
|
|
"ELASTIC_URL": "http://localhost:9200",
|
|
|
|
"REKONI_URL": "http://localhost:4004"
|
|
|
|
},
|
|
|
|
"runtimeArgs": [
|
|
|
|
"--nolazy",
|
|
|
|
"-r",
|
|
|
|
"ts-node/register"
|
|
|
|
],
|
2021-12-22 12:02:51 +03:00
|
|
|
"sourceMaps": true,
|
2022-06-16 06:36:45 +03:00
|
|
|
"cwd": "${workspaceRoot}/dev/tool"
|
2022-11-02 11:50:14 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug Collaborator",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": [
|
2022-11-22 21:13:26 +03:00
|
|
|
"src/__start.ts"
|
2022-11-02 11:50:14 +03:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"SECRET": "secret",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
|
|
|
},
|
|
|
|
"runtimeArgs": [
|
|
|
|
"--nolazy",
|
|
|
|
"-r",
|
|
|
|
"ts-node/register"
|
|
|
|
],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/pods/collaborator",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
2021-11-22 14:17:10 +03:00
|
|
|
]
|
2022-10-20 10:04:46 +03:00
|
|
|
}
|