--- title: "Debug Pop-up issues" slug: "debug-pop-up-issues" updated: 2026-08-06T12:48:54Z published: 2026-08-06T12:48:54Z canonical: "support.whatfix.com/debug-pop-up-issues" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.whatfix.com/llms.txt > Use this file to discover all available pages before exploring further. # Debug Pop-up issues Whatfix provides debug logs for your Pop-ups. The following scenarios may need you to debug Pop-up issues: - [Unable to preview Pop-up](/studio/docs/unable-to-preview-pop-up) --- Use the following steps to get the Pop-up debug logs: 1. Go to the page in your application where you are facing Pop-up issues. 2. Open your browser's [**Developer Tools**](https://developer.chrome.com/docs/devtools/open). ![debug_flow_devtools.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/debug_flow_devtools.png?sv=2026-02-06&spr=https&st=2026-10-29T06%3A15%3A52Z&se=2026-10-29T07%3A15%3A52Z&sr=c&sp=r&sig=TLQKXSmaSTd4tqG1LGWu3GoEkLGrZ%2BLwQzyR56YNJdo%3D) 3. Go to the **Console** tab. ![debug_console.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/debug_console.png?sv=2026-02-06&spr=https&st=2026-10-29T06%3A15%3A52Z&se=2026-10-29T07%3A15%3A52Z&sr=c&sp=r&sig=TLQKXSmaSTd4tqG1LGWu3GoEkLGrZ%2BLwQzyR56YNJdo%3D) 4. Type **_wfx_settings.debug_mode=true;** and press Enter. ![debug_mode.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/debug_mode.png?sv=2026-02-06&spr=https&st=2026-10-29T06%3A15%3A52Z&se=2026-10-29T07%3A15%3A52Z&sr=c&sp=r&sig=TLQKXSmaSTd4tqG1LGWu3GoEkLGrZ%2BLwQzyR56YNJdo%3D) Info: Here, you are setting the **_wfx_settings.debug_mode** variable to a **true** value, which instructs Whatfix to provide debug logs for Whatfix widgets whenever they load on a page. 1. Type **_wfx_refresh();** and press Enter. ![wfx_refresh.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/wfx_refresh.png?sv=2026-02-06&spr=https&st=2026-10-29T06%3A15%3A52Z&se=2026-10-29T07%3A15%3A52Z&sr=c&sp=r&sig=TLQKXSmaSTd4tqG1LGWu3GoEkLGrZ%2BLwQzyR56YNJdo%3D) Info: The **_wfx_refresh();** command reloads all Whatfix content and widgets that are supposed to load on the page. 1. Click **Popup** to expand its output. ![debug_popup.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/debug_popup.png?sv=2026-02-06&spr=https&st=2026-10-29T06%3A15%3A52Z&se=2026-10-29T07%3A15%3A52Z&sr=c&sp=r&sig=TLQKXSmaSTd4tqG1LGWu3GoEkLGrZ%2BLwQzyR56YNJdo%3D) --- The **ArrayList** object contains all the Pop-ups evaluated on that page. Expand each index (**0**, **1**, **2**, etc.) to see the details of each Pop-up. ![debug_popup_arraylist.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/debug_popup_arraylist%281%29.png?sv=2026-02-06&spr=https&st=2026-10-29T06%3A15%3A52Z&se=2026-10-29T07%3A15%3A52Z&sr=c&sp=r&sig=TLQKXSmaSTd4tqG1LGWu3GoEkLGrZ%2BLwQzyR56YNJdo%3D) The following are some fields that help you identify problems with your Pop-up: - **name:** The name of the Pop-up. - **times_to_show:** The number of times your Pop-up is set to show. - **popup_view_count:** The number of times you have viewed the Pop-up. - **conditions:** The Visibility Rules configured for your Pop-up to show. Note: If your Pop-up wasn't configured to show on the page you are on, it will not be part of the debug logs. ## Related - [Pop-ups](/pop-ups.md)