IDEA-155180 Configuration to not open debugger window automatically

This commit is contained in:
Egor.Ushakov
2016-05-05 13:13:47 +03:00
parent 2bdec3b9d1
commit e660386e87
@@ -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