mark(instance, force = false) {
    const instanceMap = this.ctx.currentAppRecord.instanceMap;

    if (force || !instanceMap.has(instance.__VUE_DEVTOOLS_UID__)) {
      instanceMap.set(instance.__VUE_DEVTOOLS_UID__, instance);
    }
  }
Mark an instance as captured and store it in the instance map.

@param {Vue} instance