Debate on same-sex and polygamous marriages at public hearing