Created
September 20, 2017 06:59
-
-
Save Vikaskumargd/1f1586e1bf506537b5a98e43c361ec13 to your computer and use it in GitHub Desktop.
Config for Debugging Typescipt Jest tests in VS Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug CRA Tests", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts-ts", | |
"runtimeArgs": [ | |
"--inspect-brk", | |
"test" | |
], | |
"args": [ | |
"--runInBand", | |
"--no-cache", | |
"--env=jsdom" | |
], | |
"cwd": "${workspaceRoot}", | |
"protocol": "inspector", | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment