It used to be controversial whether smoking caused lung cancer, it used to be controversial whether HIV caused AIDS. Now, there are a few mavericks who deny those things. In the case of climate change, I think the debate is going the same way in that there is a strong consensus that it is a serious matter.
