Conditional debug via env var