Skip to content

Instantly share code, notes, and snippets.

@thomasdunn
Last active June 5, 2019 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasdunn/c76757ac655a864716aea226200bee47 to your computer and use it in GitHub Desktop.
Save thomasdunn/c76757ac655a864716aea226200bee47 to your computer and use it in GitHub Desktop.
{
"version": "0.2.0",
"configurations": [
{
"name": "debug dev",
"type": "node",
"request": "launch",
"args": ["${workspaceRoot}/src/server.ts"],
"runtimeArgs": ["-r", "ts-node/register"],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"internalConsoleOptions": "openOnSessionStart",
"env": {
"TS_NODE_IGNORE": "false",
"NODE_ENV": "dev"
}
}
]
}

VS Code debug typescript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment