How to debug EnzymeRuntimeActivityError

I would like to learn more about general strategies to debug EnzymeRuntimeActivityError.

Yes, I understand what is happening from the docs. The question is how to hunt one down in a complex codebase. I can capture the location, but often JET.@report_opt and JET.@report_call don’t show any problems. I wonder what tools I am missing.