Created
August 29, 2020 18:53
-
-
Save tiglek/28a33d940f2c4df5099bc9add5bffc86 to your computer and use it in GitHub Desktop.
vscode debug configuration for debugging the current(selected) typescript file 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug Jest", | |
"type": "node", | |
"request": "launch", | |
"skipFiles": [ | |
"<node_internals>/**" | |
], | |
"runtimeArgs": [ | |
"--inspect-brk", "${workspaceRoot}/node_modules/.bin/jest", "--runInBand", | |
"--config", "${workspaceRoot}/jest.config.js", "${file}" | |
], | |
"cwd": "${workspaceFolder}", | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
package.json
babel.config.js
jest.config.js