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",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017"
|
|
|
|
},
|
|
|
|
"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-11-22 14:17:10 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|