Enable Debug Mode for Only the Users Who Need It
Where: This change applies to orgs with Lightning components in Lightning Experience, Salesforce Classic, and all versions of the mobile app.
Who: Any Salesforce user can enable debug mode for themselves. Salesforce admins and developers with access to Lightning components can enable debug mode as needed for any user in their org for debugging tasks.
In previous releases, debug mode was an org-wide setting. If you wanted to troubleshoot a problem for one user, the whole org needed to run in debug mode. For this reason, we recommended using debug mode only in Developer Edition and sandbox orgs.
In this release, you can enable debug mode for individual users, without affecting the performance of Salesforce for other users of your org. This change lets you debug problems that only appear in your production environment, without worrying that other users will complain, or even notice.
How: To enable debug mode for users in your org, go to the new Debug Mode Users page in Setup. Find the relevant users in the list, check the box next to their name, and click Enable. To turn debugging off, click Disable.