Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"name": "Hosted Workbench Profile Admin",
"type": "chrome",
"request": "launch",
"url": "https://yourtenant.sharepoint.com/sites/yoursite/_layouts/workbench.aspx",
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"userDataDir": "C:\\Workspace\\chrome\\dev_user_data",
"sourceMapPathOverrides": {
"webpack:///../../../src/*": "${webRoot}/src/*",
"webpack:///../../../../src/*": "${webRoot}/src/*",
"webpack:///../../../../../src/*": "${webRoot}/src/*"
},
"runtimeArgs": [
"--remote-debugging-port=9222",
"--profile-directory=Profile 1"
]
},
{
"name": "Hosted Workbench Profile Editor",
"type": "chrome",
"request": "launch",
"url": "https://yourtenant.sharepoint.com/sites/yoursite/_layouts/workbench.aspx",
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"userDataDir": "C:\\Workspace\\chrome\\dev_user_data",
"sourceMapPathOverrides": {
"webpack:///../../../src/*": "${webRoot}/src/*",
"webpack:///../../../../src/*": "${webRoot}/src/*",
"webpack:///../../../../../src/*": "${webRoot}/src/*"
},
"runtimeArgs": [
"--remote-debugging-port=9222",
"--profile-directory=Profile 2"
]
},
{
"name": "Hosted Workbench Profile Visitor",
"type": "chrome",
"request": "launch",
"url": "https://yourtenant.sharepoint.com/sites/yoursite/_layouts/workbench.aspx",
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"userDataDir": "C:\\Workspace\\chrome\\dev_user_data",
"sourceMapPathOverrides": {
"webpack:///../../../src/*": "${webRoot}/src/*",
"webpack:///../../../../src/*": "${webRoot}/src/*",
"webpack:///../../../../../src/*": "${webRoot}/src/*"
},
"runtimeArgs": [
"--remote-debugging-port=9222",
"--profile-directory=Profile 3"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment