You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit 6caf5ac58332c4a268df540cfd624a03f070f2a8)
$DEBUGGING
$^D

The current value of the debugging flags. May be read or set. Like its command-line equivalent, you can use numeric or symbolic values, e.g. $^D = 10 or $^D = "st". See "-Dnumber" in perlrun and "Tracing the interpreter execution" in perlguts.

The contents of this variable also affects the debugger operation. See "Debugger Internals" in perldebguts.

Mnemonic: value of -D switch.