If the republican nominee, Trump (and he is the nominee now), debates Sanders, he elevates his stature, giving Sanders a boost just before the California primary and probably enable him to win it. That will hurt Hillary Clinton for the general election.
Does he hurt Hillary enough to knock her out?