Configuring Preferences for Tunneling

This persistent connection operates even when separated by a Firewall. The advantage of this method is that it is possible to use the Studio Integration on several nodes at once. For example, to debug an entire cluster of machines behind a load-balancer using only a single debugger connection to Platform's Studio Server component.

The technology is based on two functional elements:

To establish a communication tunnel between Platform and Studio:

Go to: Platform | Preferences.

comm_tunnel_method.png

Communication Tunnel Method

In the Platform Settings section, enable Auto detect the Studio Settings by clicking On.

This informs Platform of the method of connection to Studio. The relevant options/fields for configuring Tunneling are as described below:

 

 

Instructions on how to complete a procedure

Configure communication as follows:

  1. Use the "Test" option to verify that Studio’s Broadcast Port is set to the same port number as Platform’s Auto Detection Port.

  2. Select a method of passing Zend Studio parameters.

  3. 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 based on the default detection port.

Note:

Tunneling to Debug and Profile code with the Studio is only possible if Studio is open and running and Studio’s Tunneling settings are properly configured in Platform and Studio.

 

 

Related Links

Related Links:
Configuring Preferences for Tunneling

Studio Settings

Configuration Tab