Skip to content

Instantly share code, notes, and snippets.

@atsjj
Created June 21, 2018 17:14
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 atsjj/9c40b6848ee2afcb0fcfad377fc8333e to your computer and use it in GitHub Desktop.
Save atsjj/9c40b6848ee2afcb0fcfad377fc8333e to your computer and use it in GitHub Desktop.
{
// 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": "Launch File",
"protocol": "inspector",
"request": "launch",
"type": "node",
"cwd": "${workspaceFolder}",
"env": {
"NODE_ENV": "development"
},
"autoAttachChildProcesses": true,
"internalConsoleOptions": "openOnSessionStart",
"runtimeArgs": [
"--require",
"ts-node/register"
],
"args": [
"${relativeFile}"
]
},
{
"name": "Launch Program",
"protocol": "inspector",
"request": "launch",
"type": "node",
"cwd": "${workspaceFolder}",
"env": {
"NODE_ENV": "development"
},
"autoAttachChildProcesses": true,
"internalConsoleOptions": "openOnSessionStart",
"runtimeArgs": [
"--require",
"ts-node/register"
],
"args": [
"${workspaceFolder}/index.ts"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch Tests",
"cwd": "${workspaceFolder}",
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"env": { "NODE_ENV": "test" },
"args": [
"--no-timeouts",
"--colors",
"--recursive",
"--inspect-brk",
"${workspaceFolder}/test/**/*.ts",
"--require",
"ts-node/register"
],
"stopOnEntry": false,
"internalConsoleOptions": "openOnSessionStart",
"sourceMaps": true,
"protocol": "inspector",
"outFiles": ["${workspaceFolder}/build/**/*.*"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment