void (@NotNull ExecutionEnvironment environment) { ExecutionManager executionManager = ExecutionManager.getInstance(environment.getProject()); if (!executionManager.isStarting(environment)) { executionManager.restartRunProfile(environment); } }