Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get VSCode debug and breakpoints to work with Vue Cli and Jest
{
"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