* .debug.core.model.IProcess, org.eclipse.debug.ui.console.IConsole)
*/
public void connect(IProcess process, IConsole console) {
fConsole = console;
PHPStreamsProxy proxy = (PHPStreamsProxy) process.getStreamsProxy();
if (process instanceof PHPProcess) {
fProcess = (PHPProcess) process;
fProcess.setConsole(fConsole);
fPHPHyperLink = new PHPHyperLink();
fProcess.setPHPHyperLink(fPHPHyperLink);
} else {
return;
}
DebugConsoleMonitor debugMonitor = (DebugConsoleMonitor) proxy
.getConsoleStreamMonitor();
if (proxy != null) {
fConsole.connect(debugMonitor, PHP_DEBUG_STREAM);
}