-
Notifications
You must be signed in to change notification settings - Fork 0
vscode debugging setup
veeramarni edited this page Sep 3, 2017
·
3 revisions
{
// Name of configuration; appears in the launch configuration drop down menu.
"name": "Run jest",
// Type of configuration. Possible values: "node", "mono".
"type": "node",
"request": "launch",
// Workspace relative or absolute path to the program.
"program": "${workspaceRoot}/node_modules/jest-cli/bin/jest.js",
// Automatically stop program after launch.
"stopOnEntry": false,
// Command line arguments passed to the program.
"args": [
"--runInBand"
],
// Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace.
"cwd": "${workspaceRoot}/packages/redux-bootstrap",
// Workspace relative or absolute path to the runtime executable to be used. Default is the runtime executable on the PATH.
"runtimeExecutable": null,
// Environment variables passed to the program.
"env": {
"NODE_ENV": "development"
},
"console": "integratedTerminal",
"sourceMaps": true
}
Make sure versions matches
jest 20.0.4
ts-jest 20.0.12
vscode 1.15.1
node 8.4