From e660386e87dbfa064eed2ecaf98417fa6edbcf32 Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Thu, 5 May 2016 13:12:49 +0300 Subject: [PATCH] IDEA-155180 Configuration to not open debugger window automatically --- .../src/com/intellij/xdebugger/impl/ui/XDebugSessionTab.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebugSessionTab.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebugSessionTab.java index efb8f7796b6b..ad8962d98199 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebugSessionTab.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebugSessionTab.java @@ -93,7 +93,9 @@ public class XDebugSessionTab extends DebuggerSessionTabBase { } } } - return new XDebugSessionTab(session, icon, environment); + XDebugSessionTab tab = new XDebugSessionTab(session, icon, environment); + tab.myRunContentDescriptor.setActivateToolWindowWhenAdded(contentToReuse == null || contentToReuse.isActivateToolWindowWhenAdded()); + return tab; } @NotNull -- 2.32.0