Is it possible to be able to debug the Engine & Game, but not the Editor?

I would like to have full debugging of the game and engine code when running from the editor, but I don’t care about debugging the editor itself (and would like the editor to be as fast as possible).

Is there any way to build the editor and game such that the game module is debug and the engine is debug, but the editor code is non-debug? It seems like in the current build options the engine and editor are considered one module?