That is part of it, but he hasn't looked good in the last 3 games and its more than not having Debo.
Unless he is hurt (I would be surprised if he played next week unless the 49ers have a bye this week), no way they go to Darnold, because then that would be admitting that they were wrong about Purdy.