Version: 2018.2
public static bool captureEditorExceptions ;

Description

This Boolean field will cause the CrashReporting feature in Unity to capture exceptions that occur in the editor while running in Play mode if true, or ignore those errors if false.