Skip to content

Instantly share code, notes, and snippets.

@valentin-radulescu-hs
Last active June 19, 2017 15:22
Show Gist options
  • Save valentin-radulescu-hs/43c011252d5ccf4a69582ecf92d0dbfa to your computer and use it in GitHub Desktop.
Save valentin-radulescu-hs/43c011252d5ccf4a69582ecf92d0dbfa to your computer and use it in GitHub Desktop.
Debug Jest with VSCode
{
// 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",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"stopOnEntry": false,
"args": [
"--runInBand"
],
"cwd": "${workspaceRoot}",
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment