code: def internal_get_description(dbg, seq, thread_id, frame_id, expression):
      ''' Fetch the variable description stub from the debug console
      '''
      try:
          frame = dbg.find_frame(thread_id, frame_id)
          description = pydevd_console.get_description(frame, thread_id, frame_id, expression)
          description = pydevd_xml.make_valid_xml_value(quote(description, '/>_= \t'))
          description_xml = '<xml><var name="" type="" value="%s"/></xml>' % description
          cmd = dbg.cmd_factory.make_get_description_message(seq, description_xml)
          dbg.writer.add_command(cmd)
      except:
          exc = get_exception_traceback_str()
          cmd = dbg.cmd_factory.make_error_message(seq, "Error in fetching description" + exc)
          dbg.writer.add_command(cmdf internal_get_description(dbg, seq, thread_id, frame_id, expression):
      ''' Fetch the variable description stub from the debug console
      '''
      try:
          frame = dbg.find_frame(thread_id, frame_id)
          description = pydevd_console.get_description(frame, thread_id, frame_id, expression)
          description = pydevd_xml.make_valid_xml_value(quote(description, '/>_= \t'))
          description_xml = '<xml><var name="" type="" value="%s"/></xml>' % description
          cmd = dbg.cmd_factory.make_get_description_message(seq, description_xml)
          dbg.writer.add_command(cmd)
      except:
          exc = get_exception_traceback_str()
          cmd = dbg.cmd_factory.make_error_message(seq, "Error in fetching description" + exc)
          dbg.writer.add_command(cmd)
docs: Fetch the variable description stub from the debug console