Last active
January 26, 2018 03:16
-
-
Save ygweric/187318dd31c4f9c66c6aad8b36ea3c02 to your computer and use it in GitHub Desktop.
Config VSCode to debug with jest
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
{ | |
"name": "Jest Tests", | |
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js", | |
"type": "node", | |
"request": "launch", | |
"args": [ | |
"-i" | |
], | |
} | |
// If you delete 'args', you can run the jest in vscode, but the breakpoints won't work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment