def _set_debug_color(self, color, style=None):
        """ Sets the color used to output debug messages """
        self._debug_color = getattr(Fore, color.upper())
        if style:
            self._debug_color += getattr(Style, style.upper())
 Sets the color used to output debug messages 
metadrive/render_pipeline/rpcore/rpobject.py