Skip to content

Instantly share code, notes, and snippets.

@bennettdams
Created October 9, 2018 14:54
Show Gist options
  • Save bennettdams/aa6d9caf6fa9da3971819a587c33f155 to your computer and use it in GitHub Desktop.
Save bennettdams/aa6d9caf6fa9da3971819a587c33f155 to your computer and use it in GitHub Desktop.
VS Code Vue debugging launch config
{
// Use IntelliSense to learn about possible attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${file}"
},
{
"type": "chrome",
"request": "launch",
"name": "vuejs: chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
},
// {
// "type": "firefox",
// "request": "launch",
// "name": "vuejs: firefox",
// "url": "http://localhost:8080",
// "webRoot": "${workspaceFolder}/src",
// "pathMappings": [
// {
// "url": "webpack:///src/",
// "path": "${webRoot}/"
// }
// ]
// }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment