how to instrument/debug module loading