from ...core.combine_text import combine_text
from ...colors.presets import presets
from ...styles.bold import bold

_DEBUG_COLOR = presets.yellow

def debug(*text: str, sep: str = " ", end: str = "\n", file=None, flush: bool = False) -> None:
    """Prints a debug message."""
    
    combined_text = combine_text(*text, separator=sep)
    message = f"{_DEBUG_COLOR('DEBU')} {combined_text}"
    print(bold(message), end=end, file=file, flush=flush)
