Skip to content

Instantly share code, notes, and snippets.

@wmudge
Created April 18, 2019 17:43
Show Gist options
  • Save wmudge/2c68961745c250def699b91b50246b07 to your computer and use it in GitHub Desktop.
Save wmudge/2c68961745c250def699b91b50246b07 to your computer and use it in GitHub Desktop.
Debugging Jest tests with Theia
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand", "--verbose=true"],
"internalConsoleOptions": "openOnSessionStart",
"openDebug": "openOnDebugBreak"
},
{
"type": "node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"${fileBasenameNoExtension}",
"--config",
"jest.config.js"
],
"internalConsoleOptions": "openOnSessionStart",
"openDebug": "openOnDebugBreak"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment