summaryrefslogtreecommitdiff
path: root/docs/src/gettingstarted/debugging/README.md
blob: e3a1ecd4ecb3364926782cb0354509d4e823c4e7 (plain)
1
2
3
4
5
6
# Debugging

To debug this library, e.g. to discover bugs or to see how it works internally, the library comes with a few nice additions.

## The debug variable
To enable debugging, set debugging to True in the method that registers the code with the library (see [API](../api/index.html)). This sets the logging level to `INFO` (meaning show all messages), and generates a Finite State Machine (FSM) PNG file. We explain in more detail what these two components (logging and FSM) exactly are and how they can be used.