Skip to content

Instantly share code, notes, and snippets.

@keckelt
Last active August 19, 2020 16:27
Show Gist options
  • Save keckelt/09562d14ca6e5c46c4e7478452efef9e to your computer and use it in GitHub Desktop.
Save keckelt/09562d14ca6e5c46c4e7478452efef9e to your computer and use it in GitHub Desktop.
VS Code Debug Settings
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch FireFox", // install https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug
"type": "firefox",
"request": "launch",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}",
"pathMappings": [
{
"url": "webpack://<WORKSPACE>/",
"path": "${workspaceFolder}/"
}
]
},
{
"name": "Launch Edge", // install https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-edge
"request": "launch",
"type": "pwa-msedge",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
},
{
"name": "Launch Chrome", // install https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome
"request": "launch",
"type": "pwa-chrome",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
@keckelt
Copy link
Author

keckelt commented Aug 18, 2020

In Firefox config, set product name as <WORKSPACE>, e.g., ordino or cohort.

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