

def set_debug(debug):
    'Set the debug mode.\n\n    note::\n\n        This method changes global state. When you use this method on\n        multi-threading environment, it may affects other threads.\n\n    Args:\n        debug (bool): New debug mode.\n    '
    global _debug
    _debug = debug

dataset/ETHPy150Open pfnet/chainer/chainer/__init__.py set_debug/original