Created
February 7, 2018 02:53
-
-
Save haoliangwu/b61c399ad3efef8f62ad0dc82f4702d8 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Jest", // This is the configuration name you will see in debug sidebar | |
"type": "node", | |
"request": "launch", | |
"port": 9229, | |
"address": "localhost", | |
"stopOnEntry": false, | |
"runtimeExecutable": null, | |
"env": { | |
"NODE_ENV": "production" // You can setup here any env vars you | |
}, | |
"runtimeArgs": [ | |
"--inspect-brk", | |
"./node_modules/.bin/jest", // Path to Jest | |
"--runInBand", | |
"--watch" | |
], | |
"cwd": "${workspaceRoot}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment