She will front a new sitcom from one of the brains behind Will & Grace.