Added a debug mode

Must be enabled in the config.yml. Shows some additional debug messages.
Update version to 2.0.6