Skip to content

Instantly share code, notes, and snippets.

@mkczarkowski
Last active August 14, 2020 11:36
Show Gist options
  • Save mkczarkowski/01dccd0a00b43b4515647ae79a98ac8d to your computer and use it in GitHub Desktop.
Save mkczarkowski/01dccd0a00b43b4515647ae79a98ac8d to your computer and use it in GitHub Desktop.
Visual Studio Code configuration for React/Gatsby projects with Debugger for Chrome
{
"name": "Chrome CRA",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"webpack:///./*": "${webRoot}/*",
"webpack:///src/*": "${webRoot}/*",
"webpack:///*": "*",
"webpack:///./~/*": "${webRoot}/node_modules/*",
"meteor://💻app/*": "${webRoot}/*"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment