|
|
|
Communication Tunnel
This persistent connection operates even when separated by a firewall. The advantage of this method is that it is possible to use the Zend Studio Integration on several nodes at once. For example, debugging an entire cluster of machines behind a load balancer over a single debugger connection to the Central server.
The technology is based on two functional elements:
The Zend Studio IDE (Client) that includes an internal Web server that listens on the local host on a specific Auto Detection port.
Platform auto-evaluates Zend Studio’s Auto Detection port, by evaluating Studio Client’s settings. These are the Tunnel Settings that are defined in Zend Platform.
To establish a communication tunnel between Zend Platform and Studio Client:
Go to: Zend Central | Preferences.
In the Zend Platform Settings section, enable Auto detect the Zend Studio Client Settings by clicking On.
This informs Zend Platform of the method of connection to Zend Studio Client. The relevant options/fields for configuring Tunneling are as described below:
Auto Detection Port - Indicates that Studio Client will listen to the local host on the signified Auto Detection port - Default=20080. Leave empty to automatically identify the IP from the browser.
Test - Verifies if Zend Studio Client is listening to this port. This test should only be run when Zend Studio Client is running.
Method of passing the Zend Studio Server parameters - Defines the means for passing communication parameters from the Zend Platform to Zend Studio Client. Choose COOKIE or GET method.
Configure communication as follows:
Use the Test. Option to verify that Zend Studio’s Broadcast Port is set to the same port number as Platform ’s Auto Detection Port.
Select a method of passing Zend Studio parameters.
Click save.
Note:
The default method is Cookie, and it is recommended that you use the default. Platform supports a Get method as well that can be used if experiencing problems with Cookies.
Platform establishes a communication tunnel with Studio Client based on the default detection port.
Note:
Tunneling to Debug and Profile code with the Zend Studio Client is only possible if the Zend Studio Client is open and running and the Zend Studio Client’s Tunneling settings are configured.