Created
September 12, 2018 10:10
-
-
Save souljorje/82bf16bea6bf60c210f2cea9435915ac to your computer and use it in GitHub Desktop.
Config for vscode chrome debugger for Vue and Nuxt apps
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": "chrome", | |
"request": "launch", | |
"name": "vue: chrome", | |
"url": "http://localhost:8080", | |
"webRoot": "${workspaceFolder}/*", | |
"breakOnLoad": true, | |
"sourceMaps": true, | |
"sourceMapPathOverrides": { | |
"webpack:///@": "${webRoot}/*", | |
"webpack:///@@": "${webRoot}/*", | |
"webpack:///~": "${webRoot}/*", | |
"webpack:///~~": "${webRoot}/*", | |
} | |
}, | |
{ | |
"name": "nuxt: chrome", | |
"type": "node", | |
"request": "launch", | |
"protocol": "inspector", | |
"program": "${workspaceRoot}/node_modules/nuxt/bin/nuxt", | |
"stopOnEntry": false, | |
"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