Skip to content

Instantly share code, notes, and snippets.

@kfarst
Created December 6, 2018 02:06
Show Gist options
  • Save kfarst/754ec256afb6601f91f086393f2cf19d to your computer and use it in GitHub Desktop.
Save kfarst/754ec256afb6601f91f086393f2cf19d to your computer and use it in GitHub Desktop.
"configurations": [
{
"name": "Jest", // This is the configuration name you will see in debug sidebar
"type": "node",
"request": "launch",
"port": 5858,
"address": "localhost",
"stopOnEntry": false,
"runtimeExecutable": null,
"env": {
"NODE_ENV": "production" // You can setup here any env vars you
},
"runtimeArgs": [
"--debug-brk",
"./node_modules/.bin/jest", // Path to Jest
"-i"
],
"cwd": "${workspaceRoot}"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment