Skip to end of banner
Go to start of banner

How to capture Javascript console logs

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Current »

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

Instructions

  1. Open the Chrome browser, preferably, login to Confluence and access the concerned page. 

    1. If you are accessing from Mac:
      From the Chrome menu bar select View > Developer > Javascript Console:


    2. If you are accessing from Windows:
      Press the F12 key and it will open up the Developer Tools panel
  2. From the Developer Tools panel that opens on your screen, select the Network tab. By default, the Developer Tools load at the bottom of your screen.  
  3. Check the Disable Cache option in the Network tab toolbar to prevent caching of resources for this specific page.
  4. Select the Console tab.
  5. Click on the gear icon to open the Console settings.
  6. Check the box next to the Preserve log and Log XMLHttpRequests.
  7. Click the Clear console button() to clear out any existing logs from the console.

  8. Now, reproduce the issue that you are experiencing while the console is open.
  9. Right-click anywhere in the console area, select Save as, and save the file to your computer before sharing with the Support Team.

  • No labels