Debugging of julia modules lead to errors while evaluating not

This is hard to do without specifics, ie at least the error messages and ideally an MWE that shows what exactly you are debugging and how you are doing it.