Skip to content

Instantly share code, notes, and snippets.

@brenttimmermans
Created March 26, 2020 16:06
Show Gist options
  • Save brenttimmermans/67c6dc45f2779d3338d83a4b7833efa6 to your computer and use it in GitHub Desktop.
Save brenttimmermans/67c6dc45f2779d3338d83a4b7833efa6 to your computer and use it in GitHub Desktop.
Base launch.json for VSCode Jest debugging
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest - All",
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
"args": ["--no-cache"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Jest - Current",
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
"args": ["${relativeFile}", "--no-cache"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment