add a control function for debugging
Sometimes you wish to give control instructions to the debug object. E.g. you wish to set other colors for the output. Or you want to clear the output debug file and append the next output to the empty file. Or you may want to change the debug output into an email or to the Front End.
This would allow an easier debugging with less output. There exist already some debug extensions. They all have their individual settings in the EM. With this function the debug settings could be changed during the execution of the extensions which are debugged.
(issue imported from #M16200)
#2 Updated by Franz Holzinger over 5 years ago
This feature is still needed in TYPO3 6.2.
See the file
I need a debug function which can set global attributes of the debug object $GLOBALS['error']. This shall make it possible to generate an easier readable debug output file. Such a debug method would make it possible to a TYPO3 extension to add many more debug features.
#8 Updated by Markus Klein 5 months ago
I would say that this kind of debugging has found its end some years ago. We have - thankfully - proper debugging with xdebug (and alternatives) in place, which work almost everywhere.
The big advantage: No debug code on live system, faster live systems as xdebug does not need to be present.
I think this ticket can be laid to rest.