def rule(event):
    if (
        "\\SOFTWARE\\Microsoft\\Windows\\Windows Error Reporting\\Hangs\\Debugger"
        in event.deep_get("TargetObject", default="")
    ):
        return True
    return False
