class Debugger

Debugger: displays and logs errors.

Constants

Version

Development

server modes for Debugger::enable()

Production

server modes for Debugger::enable()

Detect

server modes for Debugger::enable()

CookieSecret

deprecated VERSION

deprecated DEVELOPMENT

deprecated PRODUCTION

deprecated DETECT

deprecated COOKIE_SECRET

DEBUG

for Debugger::log()

INFO

for Debugger::log()

WARNING

for Debugger::log()

ERROR

for Debugger::log()

EXCEPTION

for Debugger::log()

CRITICAL

for Debugger::log()

Properties

static $productionMode

in production mode is suppressed any debugging output

static $showBar

whether to display debug bar in development mode

static $reservedMemorySize

size of reserved memory

static $obStatus

output buffer status @internal

static $strictMode

determines whether any error will cause immediate death in development mode; if integer that it's matched against error severity

static $scream

disables the @ (shut-up) operator so that notices and warnings are no longer hidden; if integer than it's matched against error severity

static callable[] $onFatalError
static $maxDepth

how many nested levels of array/object properties display by dump()

static $maxLength

how long strings display by dump()

static $maxItems

how many items in array/object display by dump()

static $showLocation

display location by dump()?

static string[] $keysToHide
static $dumpTheme

theme for dump()

static deprecated $maxLen
static $logDirectory

name of the directory where errors should be logged

static $logSeverity

log bluescreen in production mode for this error severity

static $email

email(s) to which send error notifications

static $time

timestamp with microseconds of the start of the request

static $editor

URI pattern mask to open editor

static $editorMapping

replacements in path

static $browser

command to open browser (use 'start ""' in Windows)

static $errorTemplate

custom static error template

static string[] $customCssFiles
static string[] $customJsFiles

Methods

__construct()

Static class - cannot be instantiated.

static void
enable(bool|string|array|null $mode = null, string|null $logDirectory = null, string|array|null $email = null)

Enables displaying or logging errors and exceptions.

static void
dispatch()

No description

static void
renderLoader()

Renders loading