Created
September 26, 2018 07:36
-
-
Save constantm/15812fa2b91d71d6434b379c4c78d6ba to your computer and use it in GitHub Desktop.
Get VSCode debug and breakpoints to work with Vue Cli and Jest
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": [ | |
{ | |
"type": "node", | |
"name": "vue-cli-service-tests", | |
"request": "launch", | |
"env": { | |
"NODE_ENV": "test" | |
}, | |
"args": [ | |
"--inspect-brk", | |
"${workspaceFolder}/node_modules/@vue/cli-service/bin/vue-cli-service.js", | |
"test:unit", | |
"--runInBand" | |
], | |
"cwd": "${workspaceFolder}", | |
"sourceMaps": true, | |
"outFiles": ["${workspaceFolder}/**/*.js"], | |
"console": "integratedTerminal", | |
"protocol": "inspector", | |
"internalConsoleOptions": "neverOpen" | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment