1+ {
2+ /**
3+ * Install Chrome Debugger Extension for Visual Studio Code to debug your components with the
4+ * Chrome browser: https://aka.ms/spfx-debugger-extensions
5+ */
6+ "version" : " 0.2.0" ,
7+ "configurations" : [{
8+ "name" : " Local workbench" ,
9+ "type" : " chrome" ,
10+ "request" : " launch" ,
11+ "url" : " https://localhost:4321/temp/workbench.html" ,
12+ "webRoot" : " ${workspaceRoot}" ,
13+ "sourceMaps" : true ,
14+ "sourceMapPathOverrides" : {
15+ "webpack:///.././src/*" : " ${webRoot}/src/*" ,
16+ "webpack:///../../../src/*" : " ${webRoot}/src/*" ,
17+ "webpack:///../../../../src/*" : " ${webRoot}/src/*" ,
18+ "webpack:///../../../../../src/*" : " ${webRoot}/src/*"
19+ },
20+ "runtimeArgs" : [
21+ " --remote-debugging-port=9222"
22+ ]
23+ },
24+ {
25+ "name" : " Hosted workbench" ,
26+ "type" : " chrome" ,
27+ "request" : " launch" ,
28+ "url" : " https://enter-your-SharePoint-site/_layouts/workbench.aspx" ,
29+ "webRoot" : " ${workspaceRoot}" ,
30+ "sourceMaps" : true ,
31+ "sourceMapPathOverrides" : {
32+ "webpack:///.././src/*" : " ${webRoot}/src/*" ,
33+ "webpack:///../../../src/*" : " ${webRoot}/src/*" ,
34+ "webpack:///../../../../src/*" : " ${webRoot}/src/*" ,
35+ "webpack:///../../../../../src/*" : " ${webRoot}/src/*"
36+ },
37+ "runtimeArgs" : [
38+ " --remote-debugging-port=9222" ,
39+ " -incognito"
40+ ]
41+ }
42+ ]
43+ }
0 commit comments