How to capture Javascript console logs

This article explains how to get Javascript console logs and how to debug an issue when a macro is not rendering data in a Confluence page.  


  1. Open the Chrome browser, preferably, log in to Confluence and access the concerned page. 
  2. Depending on the operating system used, choose the appropriate option as follows:
    1. In Mac, select View > Developer > Javascript Console from the Chrome menu bar.
    2. In Windows, press the F12 key to open the Developer Tools panel.
  3. From the Developer Tools panel, select the Network tab. By default, the developer tools loads at the bottom of your screen.  
  4. Select the Disable Cache option in the Network tab toolbar to prevent caching of resources for this specific page.
  5. Select the Console tab.
  6. Click the gear icon to open the Console settings.
  7. Select the Preserve log and Log XMLHttpRequests options.
  8. Click the Clear console button() to clear out any existing logs from the console.
  9. Now, reproduce the issue that you are experiencing while the console is open.
  10. Right-click anywhere in the console area, select Save as, and save the file to your computer to share the log with the Support Team.