User Tools

Site Tools


en-us_commands:reference:debugstate

This is an old revision of the document!


debugState()

debugState() returns whether debug output is enabled.

debugState command operation flow

bool debugState()

Commands

Command Arguments Return Value Operation
debugState() None bool Returns whether debug output is enabled.

Example

if (debugState()) debugln(F("running"));

Precautions

  • Do not use the same port for Debug and product communication.
  • Rapid repeated output can slow the control cycle and communication responses.
  • Stop unnecessary Debug output before deploying for operation.

← Built-in Command List

en-us_commands/reference/debugstate.1788785565.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki