Skip to content

Instantly share code, notes, and snippets.

@tomeightyeight
Created July 18, 2018 10:34
Show Gist options
  • Save tomeightyeight/219f9ee7127e69e7acd0eb9f72962bf5 to your computer and use it in GitHub Desktop.
Save tomeightyeight/219f9ee7127e69e7acd0eb9f72962bf5 to your computer and use it in GitHub Desktop.
VSCode Jest Debugger Config
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"webRoot": "${workspaceFolder}"
},
{
"type": "node",
"request": "launch",
"name": "Jest Tests",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"args": [
"-i",
"--silent"
],
"internalConsoleOptions": "openOnSessionStart",
"outFiles": [
"${workspaceRoot}/dist/**/*"
]
},
{
"type": "node",
"request": "launch",
"name": "Nuxt Build",
"protocol": "inspector",
"program": "${workspaceRoot}/node_modules/.bin/nuxt",
"stopOnEntry": true,
"args": ["dev"],
"cwd": "${workspaceRoot}",
"sourceMaps": true,
"env": {
"NODE_ENV": "development",
"DEBUG": "nuxt:*,app"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment