User Tools

Site Tools


uphp:functions:debug

debug

WMPRO FW >= 1.0 WMMEGA FW >= 2.0

Print to debug output

Description

debug ( string $output )

Parameter

$output: A string to output

Return Values

None

Example

<?
  debug("This is a debug message");
  // this will appear on the serial port if connected to a console
?>

See Also

Serial Port Programming - Some information on connecting and using the serial ports

debugout() - Enable or disable debug messages

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

uphp/functions/debug.txt · Last modified: 2021/09/13 05:57 (external edit)