make sure debug and cache_dir reach CacheLoader