pub fn debug_enabled() -> bool
Whether DOCLING_RS_DEBUG diagnostics are on. Cached on first use: the callers sit inside per-page pipeline loops, and a process does not meaningfully flip its own debug env mid-run.
DOCLING_RS_DEBUG