3 function xdebug($var =
'', $debugTitle =
'xdebug')
7 if (!\TYPO3\CMS\Core\Utility\GeneralUtility::cmpIP(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv(
'REMOTE_ADDR'),
$GLOBALS[
'TYPO3_CONF_VARS'][
'SYS'][
'devIPmask'])) {
14 function debug($variable =
'', $name =
'*variable*', $line =
'*line*', $file =
'*file*', $recursiveDepth = 3, $debugLevel = E_DEBUG)
18 if (!\TYPO3\CMS\Core\Utility\GeneralUtility::cmpIP(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv(
'REMOTE_ADDR'),
$GLOBALS[
'TYPO3_CONF_VARS'][
'SYS'][
'devIPmask'])) {
21 if (is_object(
$GLOBALS[
'error']) && @is_callable(array(
$GLOBALS[
'error'],
'debug'))) {
22 $GLOBALS[
'error']->debug($variable, $name, $line, $file, $recursiveDepth, $debugLevel);
24 $title = $name ===
'*variable*' ?
'' : $name;
25 $group = $line ===
'*line*' ? null : $line;
32 if (is_object(
$GLOBALS[
'error']) && @is_callable(array(
$GLOBALS[
'error'],
'debugBegin'))) {
39 if (is_object(
$GLOBALS[
'error']) && @is_callable(array(
$GLOBALS[
'error'],
'debugEnd'))) {