Add debug option in config