Created
July 18, 2018 10:34
-
-
Save tomeightyeight/219f9ee7127e69e7acd0eb9f72962bf5 to your computer and use it in GitHub Desktop.
VSCode Jest Debugger Config
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
{ | |
// 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