def debug(msg):
    if DEBUG:
        sys.stderr.write("DEBUG: " + msg + "\n")
        sys.stderr.flush()
Displays debug messages to stderr only if the Python interpreter was invoked with the -O flag.
dataset/ETHPy150Open devttys0/binwalk/src/binwalk/core/common.py/debug