def METHOD_NAME(self):
    csdebug = getattr(self, 'csdebug', self.env.CSDEBUG)
    if not csdebug:
        return
    node = self.cs_task.outputs[0]
    if self.env.CS_NAME == 'mono':
        out = node.parent.find_or_declare(node.name + '.mdb')
    else:
        out = node.change_ext('.pdb')
    self.cs_task.outputs.append(out)
    if getattr(self, 'install_task', None):
        self.pdb_install_task = self.add_install_files(install_to=self.install_task.install_to, install_from=out)
    if csdebug == 'pdbonly':
        val = ['/debug+', '/debug:pdbonly']
    elif csdebug == 'full':
        val = ['/debug+', '/debug:full']
    else:
        val = ['/debug-']
    self.env.append_value('CSFLAGS', val)