/debug-cache

Cache to speed up debugging

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Debug cache

Note. This is Alpha software, use with caution.

A cache meant to speed up debugging and testing process. Stores intermediate results in files.

Installation

pip install debug-cache

Usage

First debug_cache usage is to fasten repeated and heavy calls to tighten edit/rerun loop:

Second debug_cache usage is to check that function results didn't change. Useful when refactoring or optimizing:

This will stop and start debugger if function results don't match ones saved earlier. Strict version also stops if no cached results are found.