diff --git a/src/ptvsd/common/messaging.py b/src/ptvsd/common/messaging.py index 803ef882..9aecfc3e 100644 --- a/src/ptvsd/common/messaging.py +++ b/src/ptvsd/common/messaging.py @@ -351,7 +351,7 @@ class Message(object): def is_response(self, command=None): if not isinstance(self, Response): return False - return command is None or self.command == command + return command is None or self.request.command == command @staticmethod def raise_error(*args, **kwargs):