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",
"configurations": [
{
"name": "Start Server",
"type": "node",
"request": "launch",
"name": "Start Server",
"program": "${workspaceFolder}/src/index.js"
"runtimeExecutable": "node",
"runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"],
"args": ["src/index.ts"],
"cwd": "${workspaceRoot}",
},
{
"type": "node",