Table of Contents

debugout

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Enable or disable debug messages

Description

debugout ( int $value )

Sets the status of debug messages on the telnet console

Parameter

$value: 0 to disable, 1 to enable

Return Values

None

Example

Do nothing for 10 seconds during which time all debug alerts appear on the console

<?
  max_execution_time(10);
  debugout(1);
  while (1);
?>

See Also

debug() - Print to debug output

error_reporting() - Set the debug output level

log() - Print to the System Log (or optional file)

print() - Print data to the current output stream such as a web page or terminal

max_execution_time() - Set the maximum execution time for the current script