enabled debug mode and cache dir