Skip to content

Instantly share code, notes, and snippets.

@btburton42
Created November 14, 2018 04:57
Show Gist options
  • Save btburton42/409f10fc717f828806194d4e1224baa7 to your computer and use it in GitHub Desktop.
Save btburton42/409f10fc717f828806194d4e1224baa7 to your computer and use it in GitHub Desktop.
VS Code Debugging
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest Debug",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"args": [
"-i"
],
"internalConsoleOptions": "openOnSessionStart",
"outFiles": [
"${workspaceRoot}/dist/**/*"
]
}
]
}
@btburton42
Copy link
Author

Debug Jest tests with in app breakpoints! Fuck yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment