public static void OpenActualExecutionPlan(this ExecutionStatus executionStatus, bool?forceEvenWithNoDebugger = false) { if (Debugger.IsAttached && !forceEvenWithNoDebugger.Value) { Tools.OpenFile(executionStatus.GetActualExecutionPlanHtml(), "html"); } }