---
title: "Use debug mode in Sitecore Personalize"
slug: "use-debug-mode-in-sitecore-personalize"
abstract: "How to use debug mode in the UI to access a table or JSON view of data (Sitecore Personalize)."
---
# Use debug mode in Sitecore Personalize

If you [enable the debug feature flag](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/managing-accounts-and-system-settings-in-sitecore-personalize/enable-features-in-sitecore-personalize.html "Enable features in Sitecore Personalize"), you can view data in a table or JSON format on certain screens. This is useful when troubleshooting configurations, to access all the data in the configuration, either in tabular or JSON format.

To use debug mode:

1. Next to the data you want to access, click ![cdp_debug_icon.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/cdp_debug_icon.png) . There are multiple areas within the Sitecore Personalize application that include the debug option.

    For example, the following image shows the debug feature that is available for a decision model variant.

    ![Accessing debug mode for a decision model variant.](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/PersonalizeDebugMode.png)

    The **Debug** window opens, showing data in table format, as shown in the next image.

2. To expand a data node, in the table, click ![CDP_ExpandInTablePlusButton.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/CDP_ExpandInTablePlusButton.png).

    ![Viewing debug mode in table format.](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Personalize_DecisionModelDebug.png)

3. To see the data in JSON format, click **Show as JSON**. A JSON representation of data displays.
4. To download the JSON to a local destination, click ![Settings_for_debug.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Settings_for_debug.png) then click **Download**. Alternatively, to copy the JSON to the clipboard, click **Copy all**.
5. To close the window, click ![cdp_closeicon.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/cdp_closeicon.png).