Can’t debug functions if they have an error in it?

I tested in Jupyter as advised,posted it here: Callbacks stop working when I add another callback

Still the same issue of it breaking my other callbacks.