43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
/**
|
|
* Install Chrome Debugger Extension for Visual Studio Code to debug your components with the
|
|
* Chrome browser: https://aka.ms/spfx-debugger-extensions
|
|
*/
|
|
"version": "0.2.0",
|
|
"configurations": [{
|
|
"name": "Local workbench",
|
|
"type": "msedge",
|
|
"request": "launch",
|
|
"url": "https://{tenantDomain}/_layouts/workbench.aspx",
|
|
"webRoot": "${workspaceRoot}",
|
|
"sourceMaps": true,
|
|
"sourceMapPathOverrides": {
|
|
"webpack:///.././src/*": "${webRoot}/src/*",
|
|
"webpack:///../../../src/*": "${webRoot}/src/*",
|
|
"webpack:///../../../../src/*": "${webRoot}/src/*",
|
|
"webpack:///../../../../../src/*": "${webRoot}/src/*"
|
|
},
|
|
"runtimeArgs": [
|
|
"--remote-debugging-port=9222"
|
|
]
|
|
},
|
|
{
|
|
"name": "Hosted workbench",
|
|
"type": "msedge",
|
|
"request": "launch",
|
|
"url": "https://{tenantDomain}/_layouts/workbench.aspx",
|
|
"webRoot": "${workspaceRoot}",
|
|
"sourceMaps": true,
|
|
"sourceMapPathOverrides": {
|
|
"webpack:///.././src/*": "${webRoot}/src/*",
|
|
"webpack:///../../../src/*": "${webRoot}/src/*",
|
|
"webpack:///../../../../src/*": "${webRoot}/src/*",
|
|
"webpack:///../../../../../src/*": "${webRoot}/src/*"
|
|
},
|
|
"runtimeArgs": [
|
|
"--remote-debugging-port=9222",
|
|
"-incognito"
|
|
]
|
|
}
|
|
]
|
|
} |