PHPDebugCorePreferenceNames.PHP_DEBUGGER_ID,
PHPDebugPlugin.getCurrentDebuggerId());
} catch (final CoreException ce) {
Logger.log(Logger.ERROR, "Error reading configuration", ce); //$NON-NLS-1$
}
final PHPexes exes = PHPexes.getInstance();
PHPexeItem phpexe;
if (location != null && location.length() > 0) {
phpexe = exes.getItemForFile(location, iniPath);
} else {
phpexe = exes.getDefaultItem(PHPDebugPlugin.getCurrentDebuggerId());
}
// Check that this debugger still exists. If not, take the defaults.
if (!PHPDebuggersRegistry.getDebuggersIds().contains(debuggerID)) {
debuggerID = PHPDebugPlugin.getCurrentDebuggerId();
phpexe = exes.getDefaultItem(debuggerID);
}
if (!DebuggerCommunicationDaemon.ZEND_DEBUGGER_ID.equals(debuggerID)) {
setEnableDebugInfoOption(false);
}