code: def set_ide_os_and_breakpoints_by(self, py_db, seq, ide_os, breakpoints_by):
          '''
          :param ide_os: 'WINDOWS' or 'UNIX'
          :param breakpoints_by: 'ID' or 'LINE'
          '''
          if breakpoints_by == 'ID':
              py_db._set_breakpoints_with_id = True
          else:
              py_db._set_breakpoints_with_id = False
  
          pydevd_file_utils.set_ide_os(ide_os)
  
          return py_db.cmd_factory.make_version_message(seqf set_ide_os_and_breakpoints_by(self, py_db, seq, ide_os, breakpoints_by):
          '''
          :param ide_os: 'WINDOWS' or 'UNIX'
          :param breakpoints_by: 'ID' or 'LINE'
          '''
          if breakpoints_by == 'ID':
              py_db._set_breakpoints_with_id = True
          else:
              py_db._set_breakpoints_with_id = False
  
          pydevd_file_utils.set_ide_os(ide_os)
  
          return py_db.cmd_factory.make_version_message(seq)
docs: :param ide_os: 'WINDOWS' or 'UNIX'
          :param breakpoints_by: 'ID' or 'LINE'