Skip to content

Instantly share code, notes, and snippets.

@sorenlouv
Created September 29, 2017 12:37
Show Gist options
  • Save sorenlouv/2eb872e00ff49e85af996011f876c764 to your computer and use it in GitHub Desktop.
Save sorenlouv/2eb872e00ff49e85af996011f876c764 to your computer and use it in GitHub Desktop.
VSCode config for Jest runner
{
"version": "0.2.0",
"configurations": [
{
"name": "Jest",
"type": "node",
"request": "launch",
"args": ["--runInBand"],
"port": 9229,
"address": "localhost",
"stopOnEntry": false,
"runtimeExecutable": null,
"sourceMaps": true,
"runtimeArgs": ["--inspect-brk", "./scripts/jest", "${file}"],
"cwd": "${workspaceRoot}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment