User Tools

Site Tools


uphp:functions:debugout

This is an old revision of the document!


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 Value

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() - Output data to the current output stream such as a web page or terminal

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

uphp/functions/debugout.1493905155.txt.gz · Last modified: 2021/09/13 05:56 (external edit)