mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-25 20:42:56 +03:00
6c281b38f8
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
34 lines
1.0 KiB
JSON
34 lines
1.0 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"
|
|
},
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
"sourceMaps": true,
|
|
"cwd": "${workspaceRoot}/server/server",
|
|
"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"
|
|
}
|
|
]
|
|
}
|