Skip to content

Instantly share code, notes, and snippets.

@kenjiSpecial
Created December 10, 2018 02:41
Show Gist options
  • Save kenjiSpecial/0f493bc9948dcd8b2e70ff19aa2a69a5 to your computer and use it in GitHub Desktop.
Save kenjiSpecial/0f493bc9948dcd8b2e70ff19aa2a69a5 to your computer and use it in GitHub Desktop.
vscode + chrome debug plugin + parcel
{
// 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": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:1234",
"webRoot": "${workspaceFolder}",
"trace": true,
"breakOnLoad": true,
"sourceMapPathOverrides": {
"*": "${webRoot}/build/*"
}
}
]
}
{
"scripts": {
"demo04": "parcel examples/demo/index.html --no-hmr --port 1234 --out-dir build",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment