I'm looking for either a single word or phrase that would describe either someone or the action of dismissing someone's opinions as something "socially unpopular", without giving any reasoning why, either just to spite them, because they have a poor counter-argument, have been backed into a corner, or something similar.
For example, someone who supports something politically incorrect (like, say, stronger gun control or help for male domestic abuse) might have their views dismissed as racist or sexist or liberal without actually acknowledging and debating against them, thus labeling the former as something they might not be.
I was talking to a friend earlier about politics, and she complained about Germany's immigration problem. She said one issue was that many politicians that try to support stronger immigration laws would immediately be shot down as racist or a nazi and forced to resign, instead of being presented with counter-arguments. Regardless of whether you agree with them or not, what would describe that?
EDIT:
Forgot to specify — the word or phrase I'm looking for would be used in an informal context. And to address further questions, to be used when the person's opinion has legitimate worth and isn't just "being racist" etc, i.e. the dismisser is incorrect, and is only making these accusations because they can't argue further. (Added emphasis to the last sentence of the first paragraph)
Best Answer
It seems you want a word for someone refusing to engage in discussion, because they regard the subject as not open to debate. To dismiss out of hand is one option which has already been suggested, or more neutrally you might have to disengage from discussion.
In a similar vein I would suggest shut down debate.
In this quote, it is alleged that users refused to engage in discussion about community expectations and instead just "called troll", which is similar to your example where people "call out racism/sexism" rather than engaging.
Here the writer states that she prevented, rather than engaged in, a debate, because she felt the participants lacked relevant standing.
If you want give a more specific reason for the disengagement, rather than just acknowledge that the it occurred, you might like play the race card, or equivalently play the sexism card.
An example usage from the British press:
And one from the States:
Both of these news sources are notoriously conservative: I don't think either card-playing idiom is very likely to be used by a political liberal or centrist except ironically! So these are less neutral terms than "shutting down debate" is.