Adds debug-level info throughout