Attention
TYPO3 v10 has reached end-of-life as of April 30th 2023 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
debug¶
<code title="inline notation and custom title"> {object -> f:debug(title: 'Custom title')} </code> <output> all properties of {object} nicely highlighted (with custom title) </output>
<code title="only output the type"> {object -> f:debug(typeOnly: true)} </code> <output> the type or class name of {object} </output>
Note: This view helper is only meant to be used during development
Arguments¶
typeOnly¶
- DataType
boolean
- Required
false
- Description
If TRUE, debugs only the type of variables
levels¶
- DataType
integer
- Default
5
- Required
false
- Description
Levels to render when rendering nested objects/arrays
html¶
- DataType
boolean
- Required
false
- Description
Render HTML. If FALSE, output is indented plaintext