mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
e16f1921d8
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
174 lines
4.5 KiB
JSON
174 lines
4.5 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": [
|
|
{
|
|
"name": "Debug server",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"args": [
|
|
"src/__start.ts"
|
|
],
|
|
"env": {
|
|
"ELASTIC_URL": "http://localhost:9200",
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
"APM_SERVER_URL2": "http://localhost:8200",
|
|
"METRICS_CONSOLE": "true", // Show metrics in console evert 30 seconds.,
|
|
"MINIO_ENDPOINT": "localhost",
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
"SERVER_SECRET": "secret"
|
|
},
|
|
"runtimeArgs": [
|
|
"--nolazy",
|
|
"-r",
|
|
"ts-node/register"
|
|
],
|
|
"sourceMaps": true,
|
|
"cwd": "${workspaceRoot}/pods/server",
|
|
"protocol": "inspector"
|
|
},
|
|
{
|
|
"name": "Debug Account",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"args": [
|
|
"src/__start.ts"
|
|
],
|
|
"env": {
|
|
"MONGO_URL": "mongodb://localhost:27018",
|
|
"SERVER_SECRET": "secret",
|
|
"TRANSACTOR_URL": "ws:/localhost:3333",
|
|
"ACCOUNT_PORT": "3000"
|
|
},
|
|
"runtimeArgs": [
|
|
"--nolazy",
|
|
"-r",
|
|
"ts-node/register"
|
|
],
|
|
"sourceMaps": true,
|
|
"cwd": "${workspaceRoot}/pods/account",
|
|
"protocol": "inspector"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"name": "Debug tool import-lead-csv",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"args": [
|
|
"src/index.ts",
|
|
"import-lead-csv",
|
|
"ws1",
|
|
"../../../suho/COMPANIES_Agency_of_AlexeyS.csv"
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"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"
|
|
],
|
|
"sourceMaps": true,
|
|
"cwd": "${workspaceRoot}/dev/tool"
|
|
},
|
|
{
|
|
"name": "Debug Collaborator",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"args": [
|
|
"src/__start.ts"
|
|
],
|
|
"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"
|
|
},
|
|
]
|
|
} |