made caching only cache current module, caching input caused the debugger to prevent changes in code from being compiled