set up debug logging

def setup_debug_logging():
    """
    set up debug logging
    """

    logger = logging.getLogger("xbahn")
    logger.setLevel(logging.DEBUG)

    ch = logging.StreamHandler()
    ch.setLevel(logging.DEBUG)
    ch.setFormatter(logging.Formatter("%(name)s: %(message)s"))

    logger.addHandler(ch)