mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-03 09:00:28 +01:00
31 lines
716 B
ReStructuredText
31 lines
716 B
ReStructuredText
Debug Component
|
|
===============
|
|
|
|
The ``debug`` component can be used to debug problems with esphomelib. At startup, it prints
|
|
a bunch of useful information like reset reason, free heap size, esphomelib version and so on.
|
|
|
|
.. figure:: images/debug.png
|
|
:align: center
|
|
|
|
Example debug component output.
|
|
|
|
.. code:: yaml
|
|
|
|
# Example configuration entry
|
|
debug:
|
|
|
|
# Logger must be at least debug (default)
|
|
logger:
|
|
level: debug
|
|
|
|
There are no configuration variables for this component.
|
|
|
|
See Also
|
|
--------
|
|
|
|
- :doc:`logger`
|
|
- :doc:`API Reference </api/misc/debug>`
|
|
- `Edit this page on GitHub <https://github.com/OttoWinter/esphomedocs/blob/current/esphomeyaml/components/debug.rst>`__
|
|
|
|
.. disqus::
|