The Commission on Elections (Comelec) is studying the legality of mandating the attendance of candidates in election debates.