Skip to content

Instantly share code, notes, and snippets.

@amoilanen
Forked from constantm/launch.json
Created August 22, 2019 09:50
Show Gist options
  • Save amoilanen/014df7a83715e835293c9e2921094b21 to your computer and use it in GitHub Desktop.
Save amoilanen/014df7a83715e835293c9e2921094b21 to your computer and use it in GitHub Desktop.
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