Issue #76: add temporary debug logging.