2018-05-13 11:37:02 +02:00
|
|
|
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.
|
|
|
|
|
2018-06-01 18:10:00 +02:00
|
|
|
.. figure:: images/debug.png
|
2018-05-13 11:37:02 +02:00
|
|
|
: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.
|
2018-06-01 18:10:00 +02:00
|
|
|
|
|
|
|
See Also
|
|
|
|
^^^^^^^^
|
|
|
|
|
|
|
|
- :doc:`logger`
|
|
|
|
- :doc:`API Reference </api/misc/debug>`
|
2018-06-04 08:17:22 +02:00
|
|
|
- `Edit this page on GitHub <https://github.com/OttoWinter/esphomedocs/blob/current/esphomeyaml/components/debug.rst>`__
|