code: def available_edbg_ports(self):
          
          ports_available = sorted(list(list_ports.comports()))
          edbg_ports = []
          for iport in ports_available:
              port = iport[0]
              desc = iport[1]
              hwid = iport[2]
              if str(desc).startswith("EDBG Virtual COM Port") or \
                              "VID:PID=03EB:2111" in str(hwid).upper():
                  # print("%-10s: %s (%s)\n" % (port, desc, hwid))
                  try:
                      edbg_ports.index(port, 0)
                      print("There is multiple %s ports with same number!" % port)
                  except ValueError:
                      edbg_ports.append(port)
          # print("Detected %i DUT's" % len(edbg_ports))
          return edbg_ports
docs: Finds available EDBG COM ports.
  
          :return: list of available ports