JstdRunProfileState jstdState = JstdRunProfileState.cast(state);
final ExecutionResult executionResult = jstdState.executeWithServer(myServer);
File configFile = new File(jstdState.getRunSettings().getConfigFile());
final RemoteDebuggingFileFinder fileFinder = new JstdDebuggingFileFinderProvider(configFile, myServer).provideFileFinder();
XDebugSession session = XDebuggerManager.getInstance(environment.getProject()).startSession(environment, new XDebugProcessStarter() {
@Override
@NotNull
public XDebugProcess start(@NotNull XDebugSession session) {
JavaScriptDebugEngine debugEngine = myDebugBrowserInfo.getDebugEngine();
JSDebugProcess<?> process = debugEngine.createDebugProcess(session, browser, fileFinder, url, executionResult, false);