void (@NotNull XDebugSessionImpl session, @Nullable ExecutionEnvironment environment, @Nullable Icon icon) { myEnvironment = environment; mySession = session; mySessionData = session.getSessionData(); myConsole = session.getConsoleView(); AnAction[] restartActions; List<AnAction> restartActionsList = session.getRestartActions(); if (restartActionsList.isEmpty()) { restartActions = AnAction.EMPTY_ARRAY; } else { restartActions = restartActionsList.toArray(AnAction.EMPTY_ARRAY); } myRunContentDescriptor = new RunContentDescriptor(myConsole, session.getDebugProcess().getProcessHandler(), myUi.getComponent(), session.getSessionName(), icon, this::computeWatches, restartActions); myRunContentDescriptor.setRunnerLayoutUi(myUi); Disposer.register(myRunContentDescriptor, this); Disposer.register(myProject, myRunContentDescriptor); }