The Senedd debated calls to enshrine a right to adequate housing into Welsh law.