Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/debug-pop-up-issues

# 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](/web/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](/images/7a/debug_flow_devtools-7a55c1bd.png)
3. Go to the **Console** tab. ![debug\_console.png](/images/68/debug_console-68068591.png)
4. Type **\_wfx\_settings.debug\_mode=true;** and press Enter. ![debug\_mode.png](/images/e9/debug_mode-e973fb3c.png)

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](/images/8b/wfx_refresh-8b7338f8.png)

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](/images/8d/debug_popup-8d7db260.png)

---

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](/images/4b/debug_popup_arraylist-1-4bd41733.png)

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](/web/pop-ups)
