Add debug logger. Should be enabled in config.