def cython_debug_files():
    """
    Cython extra debug information files
    """
    # Search all subdirectories of sys.path directories for a
    # "cython_debug" directory. Note that sys_path is a variable set by
    # cysignals-CSI. It may differ from sys.path if GDB is run with a
    # different Python interpreter.
    files = []
    for path in sys_path:  # noqa
        pattern = os.path.join(path, '*', 'cython_debug', 'cython_debug_info_*')
        files.extend(glob.glob(pattern))
    return files
Cython extra debug information files