Skip to content

Commit

Permalink
[TASK] Refresh development warning for stdWrap debug options (#462)
Browse files Browse the repository at this point in the history
Update wording and draw attention.
  • Loading branch information
mbrodala authored Oct 3, 2021
1 parent 54ddd1c commit b510a65
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Documentation/Functions/Stdwrap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1940,7 +1940,9 @@ debug
Useful for debugging which value :ts:`stdWrap` actually ends up with,
if you are constructing a website with TypoScript.

Should be used under construction only.
.. attention::

Only for debugging during development, otherwise output can break.


.. index:: stdWrap; debugFunc
Expand All @@ -1958,9 +1960,11 @@ debugFunc
:aspect:`Description`
Prints the content directly to browser with the :php:`debug()` function.

Should be used under construction only.
Set to value "2" the content will be printed in a table which looks nicer.

.. attention::

Set to value "2" the content will be printed in a table - looks nicer.
Only for debugging during development, otherwise output can break.


.. index:: stdWrap; debugData
Expand All @@ -1979,4 +1983,6 @@ debugData
Prints the current data-array, :php:`$cObj->data`, directly to browser. This
is where :ts:`field` gets data from.

Should be used under construction only.
.. attention::

Only for debugging during development, otherwise output can break.

0 comments on commit b510a65

Please sign in to comment.