add debug logging for config