Created
April 18, 2019 17:43
-
-
Save wmudge/2c68961745c250def699b91b50246b07 to your computer and use it in GitHub Desktop.
Debugging Jest tests with Theia
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest All", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": ["--runInBand", "--verbose=true"], | |
"internalConsoleOptions": "openOnSessionStart", | |
"openDebug": "openOnDebugBreak" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest Current File", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": [ | |
"${fileBasenameNoExtension}", | |
"--config", | |
"jest.config.js" | |
], | |
"internalConsoleOptions": "openOnSessionStart", | |
"openDebug": "openOnDebugBreak" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment