Best practices for debugging DynamicMap callbacks

When trying to get a new DynamicMap and NdOverlay combination working together, I found it very difficult to debug the DynamicMap callback function because all errors were being silently caught, things like print statements weren’t appearing anywhere (jupyter lab), and even python breakpoint() calls were being ignored. Is there a better way to work on things like this so that these normal debugging tools work as usual?
Thanks!

3 Likes

Hi @jazz

Welcome to the community.

Could you provide a minimum, reproducible example? It helps the community so much to understand your problem and find an answer.

Thanks :+1:

I guess I pretty much asked the exact same thing here: Callback exceptions on jupyter

Maybe the topics can be merged