Skip to content

Instantly share code, notes, and snippets.

@ygweric
Last active January 26, 2018 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ygweric/187318dd31c4f9c66c6aad8b36ea3c02 to your computer and use it in GitHub Desktop.
Save ygweric/187318dd31c4f9c66c6aad8b36ea3c02 to your computer and use it in GitHub Desktop.
Config VSCode to debug with jest
{
"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