4.14.1: commented out the 3 lines mentioned above, switched to DebugGame Editor, as suggested.
Compiles in Visual Studio, but trying to start the editor crashes every time with “Assertion failed: ModuleManager.IsModuleLoaded(ModuleName) [File:D:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Core\Public\Modules\ModuleManager.h] [Line: 247]
Tried to get module interface for unloaded module: ‘Webcamera’”
This is with the binary version of the engine, not from source.