Files
Kiwi 945bd7f2b0 [CORL-367] Speedup scripts & better server development and debugging (#2306)
* feat: speedup scripts & make server development faster

* feat: fix server debugging + allow attaching to a running node process

* feat: make npm run during watch less chatty
2019-05-09 22:08:12 +02:00

38 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": [
{
"type": "node",
"request": "launch",
"name": "Launch Development Server",
"cwd": "${workspaceFolder}",
"args": [
"-r",
"ts-node/register",
"-r",
"tsconfig-paths/register",
"${workspaceFolder}/src/index.ts"
],
"env": {
"TS_NODE_PROJECT": "${workspaceFolder}/src/tsconfig.json",
"TS_NODE_FILES": "true",
"TS_NODE_TRANSPILE_ONLY": "true",
// Set to 1 here beacuse clustering gets all weird with logging + output.
"CONCURRENCY": "1"
},
"outputCapture": "std"
},
{
"type": "node",
"request": "attach",
"name": "Attach to Node Process",
"processId": "${command:PickProcess}",
"restart": true,
"protocol": "inspector"
}
]
}