[TYPO3-dev] domesticating t3lib_div::debug

Steffen Kamper steffen at sk-typo3.de
Fri May 2 00:56:43 CEST 2008


"Oliver Klee" <typo3-german-02 at oliverklee.de> schrieb im Newsbeitrag 
news:mailman.1.1209682168.13107.typo3-dev at lists.netfielders.de...
> Hi,
>
> Steffen Kamper schrieb:
>> What do you think? Anything speaking again this?
>
> Generally, I like the idea. Yet, I see one possible drawback: If the BE 
> crashes (or the FE), the debug is never shown.
>
>
> Oliver

Hi Oliver,

it would be possible in such case to use a switch in debug:

if ($GLOBALS['forceDebug']) {
  echo $GLOBALS['debugOut'];
}

so you can cover such extreme cases.

vg Steffen 






More information about the TYPO3-dev mailing list