ref #67: add a debug module to further explore this and other hangs