throw new ExecutionException("Local JsTestDriver server running in IDE required for tests debugging");
}
JstdToolWindowManager jstdToolWindowManager = JstdToolWindowManager.getInstance(environment.getProject());
jstdToolWindowManager.setAvailable(true);
JstdServer server = JstdServerRegistry.getInstance().getServer();
<BUG>final AsyncResult<RunProfileStarter> result = new AsyncResult<RunProfileStarter>();</BUG>
if (server != null && !server.isStopped()) {
<BUG>prepareWithServer(environment.getProject(), result, server, runSettings);

return result;</BUG>
}

throw new ExecutionException("Local JsTestDriver server running in IDE required for tests debugging");
}
JstdToolWindowManager jstdToolWindowManager = JstdToolWindowManager.getInstance(environment.getProject());
jstdToolWindowManager.setAvailable(true);
JstdServer server = JstdServerRegistry.getInstance().getServer();
if (server != null && !server.isStopped()) {
return prepareWithServer(environment.getProject(), server, runSettings);
