Skip to content

Instantly share code, notes, and snippets.

@vaclavbohac
Created March 14, 2017 07:44
Show Gist options
  • Save vaclavbohac/320305561f47e7d2d3bc37da127612ad to your computer and use it in GitHub Desktop.
Save vaclavbohac/320305561f47e7d2d3bc37da127612ad to your computer and use it in GitHub Desktop.
Visual Studio Code debug configuration for jest with TypeScript
{
"version": "0.2.0",
"configurations": [
{
"name": "TS Tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/jest-cli/bin/jest.js",
"stopOnEntry": false,
"args": ["--runInBand"],
"cwd": "${workspaceRoot}",
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"console": "integratedTerminal",
"sourceMaps": false,
"outFiles": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment