Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains the way how to capture get the Javascript console logs to debug the issue while it outputs when any macro is not rendering the data in the confluence page.  

Instructions

  1. Open the Chrome browser, login and log into Confluence instance.
  2. Open the confluence page for which you want to analyze the javascript errors.
  3. Hit the F12 key In the chrome browser.
  4. Developer Tools panel access the Confluence page which has the issue.

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

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

  11. Try to Now, reproduce the issue that you are experiencing while the console is open.

  12. Once you have reproduced the issue, right-Right click anywhere in the console area, select Save as, and save the file to your computer .before sharing with the Support Team