This article explains how to get Javascript console logs , and how to debug an issue , when any a macro is not rendering data in a Confluence page.
Instructions
- Open the Chrome browser, preferably, login log in to Confluence and access the concerned page.
- If you are accessing from Mac:
From the Chrome menu bar select Depending on the operating system used, choose the appropriate option as follows:- In Mac, select View > Developer > Javascript Console: from the Chrome menu bar.
- If you are accessing from Windows:
Press In Windows, press the F12 key and it will to open up the Developer Tools panel.
- In Mac, select View > Developer > Javascript Console: from the Chrome menu bar.
- From the Developer Tools panel that opens on your screen, select the Network tab. By default, the Developer Tools load developer tools loads at the bottom of your screen.
- Check Select the Disable Cache option in the Network tab toolbar to prevent caching of resources for this specific page.
- Select the Console tab.
- Click on the gear icon to open the Console settings.
- Check the box next to the Select the Preserve log and Log XMLHttpRequestsXMLHttpRequests options.
- Click the Clear console button() to clear out any existing logs from the console.
- Now, reproduce the issue that you are experiencing while the console is open.
- Right-click anywhere in the console area, select Save as, and save the file to your computer before sharing to share the log with the Support Team.