I have an spfx webpart I'm trying debug in chrome. My launch.json file looks like the following:
{
"name": "Hosted workbench",
"type": "chrome",
"request": "launch",
"url": "https://{tenant}.sharepoint.com/sites/{sitename}/_layouts/workbench.aspx",
"webRoot": "${workspaceRoot}",
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack:///.././src/*": "${webRoot}/src/*",
"webpack:///../../../src/*": "${webRoot}/src/*",
"webpack:///../../../../src/*": "${webRoot}/src/*",
"webpack:///../../../../../src/*": "${webRoot}/src/*"
},
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
"runtimeArgs": ["--remote-debugging-port=9222", "-incognito"]
}
Running gulp serve --nobrowser seems to work fine. I then click the Run and Debug button which then launches chrome. The url redirects to the Microsoft page and then just stalls. The tab is in an endless load spinner and the login page is blank.