TS debug command for server

This commit is contained in:
Martin McKeaveney 2021-07-01 17:36:41 +01:00
parent 0faae01c07
commit bc4c85bffa
1 changed files with 5 additions and 2 deletions

View File

@ -5,10 +5,13 @@
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "Start Server",
"type": "node", "type": "node",
"request": "launch", "request": "launch",
"name": "Start Server", "runtimeExecutable": "node",
"program": "${workspaceFolder}/src/index.js" "runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"],
"args": ["src/index.ts"],
"cwd": "${workspaceRoot}",
}, },
{ {
"type": "node", "type": "node",