/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformCrashContext.h
a non-zero value if crash reporter process is used to monitor the session, capture the call stack and write the minidump, otherwise, this is done inside the crashing process.
static uint32 GetOutOfProcessCrashReporterProcessId()