Skip to content

Instantly share code, notes, and snippets.

@alxpsr
Created February 23, 2019 12:57
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 alxpsr/8555122fc4c1248f7812a9221daef7e0 to your computer and use it in GitHub Desktop.
Save alxpsr/8555122fc4c1248f7812a9221daef7e0 to your computer and use it in GitHub Desktop.
Debug Custom TSLint rule with vscode
{
"name": "Debug TSLint Rule",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/my-rules/myCustomRule.ts",
"stopOnEntry": false,
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"console": "internalConsole",
"outputCapture": "std",
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/out/**/*.js"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment