Skip to content

Instantly share code, notes, and snippets.

@b2evandro
Created July 22, 2021 20:39
Show Gist options
  • Save b2evandro/882c4594b99f113b0a6c14df9aa5d082 to your computer and use it in GitHub Desktop.
Save b2evandro/882c4594b99f113b0a6c14df9aa5d082 to your computer and use it in GitHub Desktop.
Ensure that your development server is running (npm start). Then press F5 or the green arrow to launch the debugger and open a new browser instance
{
"version": "0.2.0",
"configurations": [
// **********************************************************************
// Go to the Run view ⇧⌘D and click on the gear button or Create a launch.json link to create a `launch.json``
// debugger configuration file.
// Choose Edge: launch from the Select Environment dropdown list.
// This will create a launch.json file in a new `.vscode` folder in your project
// which includes a configuration to launch the website.
// **********************************************************************
{
"name": "Chrome and VSCode",
"type": "chrome",
"request": "launch",
"console": "integratedTerminal",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}/src",
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
},
}
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment