Skip to content

Instantly share code, notes, and snippets.

@comfortablejohn
Created August 10, 2017 07:57
Show Gist options
  • Save comfortablejohn/3327c742347a929fb04151b1877c0985 to your computer and use it in GitHub Desktop.
Save comfortablejohn/3327c742347a929fb04151b1877c0985 to your computer and use it in GitHub Desktop.
Debug config for VSCode Chrome Debugger
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"sourceMaps": true,
"webRoot": "${workspaceRoot}/dist",
"sourceMapPathOverrides": {
"webpack:///*": "${workspaceRoot}/*",
"webpack:///./*": "${workspaceRoot}/*",
"webpack:///src/*": "${workspaceRoot}/src/js/*",
"webpack:///./~/*": "${workspaceRoot}/node_modules/*"
},
"diagnosticLogging": true
}
]
}
@johnhaitas
Copy link

try changing ${workspaceRoot} to ${workspaceFolder}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment