Last active
October 3, 2018 11:06
-
-
Save dwelch2344/5221472aca1be7c8fc057d8813960df2 to your computer and use it in GitHub Desktop.
VSCode Jest Debugging
This file contains hidden or 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": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest All", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": ["--runInBand"], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"windows": { | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest" | |
} | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest Current File", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": ["${relativeFile}", "--watch", "--no-cache"], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"windows": { | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest" | |
}, | |
"skipFiles": ["<node_internals>/**"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment