Why not take it a step further? Make each function in the codebase its own project. Then the codebase can fit into the context window easily. All you have to do is debug issues between functions calling each other.
Wait, is this a joke about Lambda?
Wait, is this a joke about Lambda?