mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-27 17:37:45 +01:00
f4c1d31a1d
This reverts commit 19a22e8b39
.
35 lines
715 B
ReStructuredText
35 lines
715 B
ReStructuredText
Debug Component
|
|
===============
|
|
|
|
.. seo::
|
|
:description: Instructions for setting up the debug component in ESPHome
|
|
:image: bug-report.png
|
|
|
|
The ``debug`` component can be used to debug problems with ESPHome. At startup, it prints
|
|
a bunch of useful information like reset reason, free heap size, ESPHome version and so on.
|
|
|
|
.. figure:: images/debug.png
|
|
:align: center
|
|
|
|
Example debug component output.
|
|
|
|
.. code-block:: 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`
|
|
- :apiref:`debug_component.h`
|
|
- :ghedit:`Edit`
|
|
|
|
.. disqus::
|