def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\VSDiagnostics.exe"),
                    event.deep_get("OriginalFileName", default="") == "VSDiagnostics.exe",
                ]
            ),
            "start" in event.deep_get("CommandLine", default=""),
            any(
                [
                    " /launch:" in event.deep_get("CommandLine", default=""),
                    " -launch:" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
