Created
December 4, 2019 10:51
-
-
Save Dobby89/1e244744674b9d78d9e93b89ac81158f to your computer and use it in GitHub Desktop.
Debug VSCode typescript jest tests
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
{ | |
// Use IntelliSense to learn about possible Node.js debug attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Debug Jest Tests", | |
"cwd": "${workspaceFolder}", | |
"args": [ | |
"--inspect-brk", | |
"${workspaceRoot}/node_modules/.bin/jest", | |
"--runInBand", | |
"--config", | |
"${workspaceRoot}/jest.config.js" | |
], | |
"windows": { | |
"args": [ | |
"--inspect-brk", | |
"${workspaceRoot}/node_modules/jest/bin/jest.js", | |
"--runInBand" | |
"--config", | |
"${workspaceRoot}/jest.config.js" | |
], | |
}, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment