code: def DEBUG_ON_RESPONSE(self, statusCode, responseHeader, data):
          '''
          Update current frame with response
          Current frame index will be attached to responseHeader
          '''
          if self.DEBUG_FLAG:  # pragma no branch (Flag always set in tests)
              self._frameBuffer[self._frameCount][1:4] = [statusCode, responseHeader, data]
              responseHeader[self.DEBUG_HEADER_KEY] = self._frameCounf DEBUG_ON_RESPONSE(self, statusCode, responseHeader, data):
          '''
          Update current frame with response
          Current frame index will be attached to responseHeader
          '''
          if self.DEBUG_FLAG:  # pragma no branch (Flag always set in tests)
              self._frameBuffer[self._frameCount][1:4] = [statusCode, responseHeader, data]
              responseHeader[self.DEBUG_HEADER_KEY] = self._frameCount
docs: Update current frame with response
          Current frame index will be attached to responseHeader