def METHOD_NAME(command, arguments):
    if command == "attach":
        assert isinstance(arguments["processId"], int)
        if pid_type == "str":
            arguments["processId"] = str(arguments["processId"])