This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uphp:functions:debug [2017/02/20 13:25] jeff created |
uphp:functions:debug [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
======debug====== | ======debug====== | ||
- | < | + | |
+ | < | ||
Print to debug output | Print to debug output | ||
====Description==== | ====Description==== | ||
- | <well size=" | + | |
- | [[debug]] ( | + | <well size=" |
- | < | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
+ | <span style=" | ||
</ | </ | ||
- | ====Parameters==== | + | ====Parameter==== |
- | < | + | |
+ | <html><b>< | ||
+ | |||
+ | ====Return Values==== | ||
- | ====Return Value==== | ||
None | None | ||
====Example==== | ====Example==== | ||
- | <code php><? | + | |
- | debug(" | + | <code php> |
- | //this will appear on the serial port if connected to a console | + | <? |
- | ?></ | + | debug(" |
+ | // this will appear on the serial port if connected to a console | ||
+ | ?> | ||
+ | </ | ||
====See Also==== | ====See Also==== | ||
- | [[uphp: | ||
- | [[debugout()]] - Enable or disable | + | [[how_tos: |
+ | |||
+ | [[debugout()]] - Enable or disable | ||
[[error_reporting()]] - Set the debug output level | [[error_reporting()]] - Set the debug output level | ||
- | [[log()]] - Print to the System Log | + | [[log()]] - Print to the System Log (or optional file) |
- | [[print()]] - Output | + | [[print()]] - Print data to the current output stream such as a web page or terminal |