'if multiple instances of Debug is used in same app,
some flags might be created multiple time, filter out dupes'

def _remove_dupe_flags(self):

    unique_flags = []
    for f in self.debug_flags:
        if (f not in unique_flags):
            unique_flags.append(f)
    self.debug_flags = unique_flags
