You need to sign in to do that
Don't have an account?
Kibwe Williamson 11
Salesforce lightning is switching to classic when the Google Chrome Web inspector is opened
When trying to do some debugging in lightning Salesforce keeps switching to classic view whenever I open the inspector. I'm getting this error in the Inspector console:
DevTools failed to load SourceMap: Could not load content for https://hgv--qa.lightning.force.com/javascript/1515605724000/ui-sfdc-javascript-impl/source/RecordGVP.js.map:
DevTools failed to load SourceMap: Could not load content for https://hgv--qa.lightning.force.com/javascript/1515605724000/ui-sfdc-javascript-impl/source/RecordGVP.js.map:
Hi Kibwe,
This will usually happen when your "Toggle Device Toolbar" is turned on, and the reason being lightning experience not available on mobile browsers. If your device toolbar is switched on, means you're on the mobile browser mode and hence you go back to classic.
Turn the toggle off and then try debugging in web inspector and it should work fine.
I hope this helps.
All Answers
Generally, we see this error occurs whenever you are trying to load the data which is not available on the public server. Can you re-check?
Thanks,
Hi Kibwe,
This will usually happen when your "Toggle Device Toolbar" is turned on, and the reason being lightning experience not available on mobile browsers. If your device toolbar is switched on, means you're on the mobile browser mode and hence you go back to classic.
Turn the toggle off and then try debugging in web inspector and it should work fine.
I hope this helps.
Kindly mark the answer as Best answer to help others having the same problem.
Cheers!
Shortcut for Google Chrome: CTRL + SHIFT + M to turn on/Off the Toggle Device Tool, Thanks. Please Mark as best answer if it works.