Created
December 6, 2018 02:06
-
-
Save kfarst/754ec256afb6601f91f086393f2cf19d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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