code: function getInstanceDetails (id) {
    const instance = instanceMap.get(id)
    if (!instance) {
      const vnode = findInstanceOrVnode(id)
  
      if (!vnode) return {}
  
      const data = {
        id,
        name: getComponentName(vnode.fnOptions),
        file: vnode.fnOptions.__file || null,
        state: processProps({ $options: vnode.fnOptions, ...(vnode.devtoolsMeta && vnode.devtoolsMeta.renderContext.props) }),
        functional: true
      }
  
      return data
    } else {
      const data = {
        id: id,
        name: getInstanceName(instance),
        state: getInstanceState(instance)
      }
  
      let i
      if ((i = instance.$vnode) && (i = i.componentOptions) && (i = i.Ctor) && (i = i.options)) {
        data.file = i.__file || null
      }
  
      return data
    }
  }
docs: Get the detailed information of an inspected instance.
  
  @param {Number} id