This might happen if UE4 instead of the game project is set as the startup project in Visual Studio. In the Solution Explorer, right click the Game project and click “Set as Startup Project”. Then your project should launch immediately when clikcing “Local Windows Debugger” instead of the project selector.
If VS is connected correctly then the crash reporter should not run on crashes (unless you want to, you can add -crashreports
as a launch param to force it).
By the way, you can make non-shipping builds wait just before crashing or asserting for a programmer to remotely attach to the process and see what’s going on.
- Via config, in
DefaultEngine.ini
:[Engine.ErrorHandling] bPromptForRemoteDebugging=True
or[Engine.ErrorHandling] bPromptForRemoteDebugOnEnsure=True
. - Via command line:
-PromptRemoteDebug
or-PromptRemoteDebugEnsure.