WMPRO FW >= 1.0 WMMEGA FW >= 2.0
Print to debug output
$output: A string to output
None
<? debug("This is a debug message"); // this will appear on the serial port if connected to a console ?>
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