---
title: "Debugging / analyzing"
manual: "TypoScript Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3tsref:typoscript-debugging@main"
source: "UsingSetting/Debugging.rst"
modified: "2026-09-15T19:22:01+00:00"
---

# Debugging / analyzing

Debugging TypoScript can be complicated as there are many influences like the
active page and conditions. Also constants can be used which get substituted.
The following sections provide information about how to debug TypoScript and how
to find errors within TypoScript.

## Analyzing defined constants

The backend submodule **Sites > TypoScript > Active TypoScript**
provides a tree view to all defined TypoScript Constants on the currently active page.

![A Screenshot showing the "Constants" section of the "Active TypoScript" submodule.](../Images/ManualScreenshots/TypoScriptModule/ConstantsDisplayActiveTypoScript.png)

## Finding errors

There are no tools that will tell whether the given TypoScript code is 100%
correct. The **Included TypoScript** will warn about syntax errors though:

![The submodule 'Included TypoScript' showing a syntax warning](../Images/ManualScreenshots/TypoScriptModule/IncludedTypoScriptWarnings.png)

In the frontend, the [`typo3/cms-adminpanel`](https://packagist.org/packages/typo3/cms-adminpanel) is another possibility
to debug TypoScript: use its section called **TypoScript**. It shows
selected rendered (configuration) values, SQL queries, error messages and more.

## Debugging

TypoScript itself offers a number of debug functions:

-   [stdWrap](https://docs.typo3.org/permalink/t3tsref:stdwrap@main) comes with the properties
    [](https://docs.typo3.org/permalink/t3tsref:stdwrap-debug@main), [](https://docs.typo3.org/permalink/t3tsref:stdwrap-debugfunc@main) and
    [](https://docs.typo3.org/permalink/t3tsref:stdwrap-debugdata@main)
    which help checking which values are currently available and which
    configuration is being handled.
-   [TMENU](https://docs.typo3.org/permalink/t3tsref:tmenu@main) comes with the property
    [debugItemConf](https://docs.typo3.org/permalink/t3tsref:menu-common-properties@main).
    If set to `1`, it outputs the configuration arrays for each menu item.
    Useful to debug [optionSplit](https://docs.typo3.org/permalink/t3tsref:optionsplit@main) things and such.
