// }
// }
fBreakpointSet = new BreakpointSet(project, fIsPHPCGI);
IDebugHandler debugHandler = null;
IDebugParametersInitializer parametersInitializer = DebugParametersInitializersRegistry
.getBestMatchDebugParametersInitializer(launch);
if (parametersInitializer != null) {
String debugHandlerID = parametersInitializer.getDebugHandler();
if (debugHandlerID != null) {
try {
debugHandler = DebugHandlersRegistry
.getHandler(debugHandlerID);
} catch (Exception e) {
PHPDebugPlugin.log(e);
}
}
}
// If couldn't find contributed IDebugHandler - use default
if (debugHandler == null) {
debugHandler = new ServerDebugHandler();
}
debugHandler.setDebugTarget(this);
debugger = debugHandler.getRemoteDebugger();
fThread = new PHPThread(this);
fThreads = new IThread[] { fThread };
fTerminated = false;