Split out DebugLib for different module types