Create debug log in salesforce for force.com communities

To Create debug log in salesforce for force.com communities, follow below steps:

  1. Open the url in browser.
  2. Then, open the browser’s console.
  3. document.cookie=”debug_logs=debug_logs;domain=.force.com”; If you are using foce.com domain. If using Custom domain use (copy and paste in devTool console of browser) document.cookie=”debug_logs=debug_logs;domain=yourCustomDomain.com”;
  4. Create debug log in salesforce using community user. To identify community user go to Site, Select your site from the Site Label column. Click on ‘Public Access Setting’ button and on that page click on ‘User’ button to see the user.
Scroll to Top