User Tools

Site Tools


uphp:functions:debug

This is an old revision of the document!


debug

WMPRO FW > 1.0 WMMEGA FW > 2.0

Print to debug output

Description

debug ( string $output )

Parameters

output: A string to output

Return Value

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 port

debugout() - Enable or disable debug messages

error_reporting() - Set the debug output level

log() - Print to the System Log

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

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