-
-
Save amoilanen/014df7a83715e835293c9e2921094b21 to your computer and use it in GitHub Desktop.
Get VSCode debug and breakpoints to work with Vue Cli and Jest
This file contains hidden or 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