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",
|
|
|
|
"args": ["src/__start.ts"],
|
|
|
|
"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",
|
|
|
|
"MINIO_ACCESS_KEY":"minioadmin",
|
2022-03-04 12:01:46 +03:00
|
|
|
"MINIO_SECRET_KEY":"minioadmin",
|
|
|
|
"SERVER_SECRET": "secret"
|
2021-11-22 14:17:10 +03:00
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/server/server",
|
|
|
|
"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}/../../",
|
|
|
|
"args": ["--debug", "test", "--clean", "--test-path-pattern", "${file}"],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"protocol": "inspector"
|
2021-12-10 12:47:54 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug generator",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/index.ts", "gen-recruit", "ws1", "20"],
|
|
|
|
"env": {
|
|
|
|
"TRANSACTOR_URL":"ws:/localhost:3333",
|
|
|
|
"MINIO_ACCESS_KEY":"minioadmin",
|
|
|
|
"MINIO_SECRET_KEY":"minioadmin",
|
|
|
|
"MINIO_ENDPOINT":"localhost"
|
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register" ],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/dev/generator",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
2021-12-22 12:02:51 +03:00
|
|
|
{
|
|
|
|
"name": "Debug tool",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2022-01-06 14:38:40 +03:00
|
|
|
"args": ["src/index.ts", "upgrade-workspace", "ws1"],
|
2021-12-22 12:02:51 +03:00
|
|
|
"env": {
|
|
|
|
"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",
|
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register" ],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/dev/tool",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
2021-11-22 14:17:10 +03:00
|
|
|
]
|
|
|
|
}
|