--- title: "Debugging" slug: "debugging" status: "update" updated: 2025-02-12T03:14:18Z published: 2025-02-12T03:14:18Z canonical: "support.whatfix.com/debugging" --- > ## 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. # Debugging Whatfix enables you to debug issues with your Whatfix content and widgets using debugging commands in your browser’s [**Developer Tools**](https://developer.chrome.com/docs/devtools). ## Debugging articles For information about debugging specific issues, see the following articles: - [Identify an element’s CSS selector](/studio/docs/identify-an-elements-css-selector) - [Debug Pop-up issues](/studio/docs/debug-pop-up-issues) - [Get tags loaded on a page](/studio/docs/get-tags-loaded-on-a-page) - [Debug a Flow failure](/studio/docs/debug-a-flow-failure) ## Common debugging commands For information about common Whatfix debugging commands, see the following table: | Command | Description | When to use | | --- | --- | --- | | **General commands** | | **___embed;** | Checks if the Whatfix Embed script is injected on an application. - Returns **True** if the Whatfix Embed script is present. - Returns **False** if the Whatfix Embed script is **not** present. | When no Whatfix content is visible on your application. | | ***_wfx*_****settings.debug_mode=true;** | - Enables Whatfix debug mode. - Shows real-time logs of Whatfix content on the console. | When you want to debug issues with Whatfix content, for e.g.: - [Debug a Flow failure](/studio/docs/debug-a-flow-failure) - [Get tags loaded on a page](/studio/docs/get-tags-loaded-on-a-page) > [!WARNING] > Note > > After using this command, ensure to use the **_*wfx*_refresh();** command | | ***_wfx*_refresh();** | Refreshes all the active content and widgets. | - When Whatfix content is not behaving as expected - After changing a **_*wfx*_settings** variable value, for e.g. **_*wfx*_settings.debug_mode** | | ***_wfx_*debug_finder();** | Prints the debug logs for all content and widgets loaded on the page. | When you want to debug issues with Whatfix content or widget segments, for e.g.: - [Debug Pop-up issues](/studio/docs/debug-pop-up-issues) | | **Flow commands** | | ***_wfx_*run(‘’);** | Runs the Flow with the provided Flow ID. | When you want to run a Flow without triggering it using a widget. | | ***_wfx_*is_live();** | Checks whether a Flow is currently running on the page. - Returns **True** if there is a running Flow - Returns **False** if there are no Flows currently running. | When a Flow is not visible or not loading on the desired pages. | | ***_wfx_*play_state();** | Identifies the **play state** for a running Flow. Returns the **Flow ID** and **step number** of the Flow. | When additional information regarding the currently running flow is required like ID or the Step number. | | **Smart Tip Commands** | | ***_wfx_*refresh_tips();** | Refreshes the Smart Tip segments active on the page. | When your Smart Tips are not behaving as expected. |