Debug caching