A proposed ban on sanctuary policies evoked talk of fear and bigotry, shouts of “Shame on you!” and the scolding of a Democratic senator who admonished a woman for disparaging Miami, the Florida city with the largest Hispanic population.

After the dust settled, the Senate Rules Committee narrowly approved the bill that would force local law enforcement agencies to cooperate with federal authorities who enforce immigration laws. The bill now goes to the full Senate the day after a similar House bill was approved in its last committee stop.