Zend Debugger

Zend Core comes complete with the option to enable remote PHP debugging and profiling of Web applications through using the Zend Debugger (Zend Studio Server) component.

This component enables developers using the Zend IDE to connect to a remote server in order to analyze (debug and profile) and fix code.

 

The Zend Debugger tab allows you to configure which hosts should be allowed to initiate debugging and profiling sessions.

Note:

For the Zend Studio IDE to be able to initiate debugging and profiling sessions, the IP address of the machine where the Zend Studio IDE is installed must be in the Allowed Hosts list.

Configuration Tab - Zend Debuger

Settings

The Zend Debugger tab displays the settings for the Debugger that resides on the server.

There are four categories of settings:

  1. Allowed Hosts - Lists the hosts allowed to initiate Debugging and Profiling sessions.

  2. Denied Hosts - Lists the hosts that are not allowed to initiate Debugging and Profiling sessions, even if they are on the Allowed Hosts list.

  3. Allowed Hosts for Tunneling - Lists the hosts allowed to use the Zend Studio Tunnel for debugging across a firewall.

  4. Expose Remotely - This setting determines whether the Debug Server will expose itself to remote clients. This is required if you want the Zend Studio Browser Toolbar to automatically detect pages that can be debugged.

 

 

Instructions on how to complete a procedure

To add/remove an Allowed, Denied or Tunneling Host:

  1. Click "Add" .
    A new unconfigured line will be added to the Host list.

  2. Enter the required address and Net Mask.

  3. To remove a Host, click the "Remove Host button" next to the required host.

  4. Press Save .

  5. To apply the changes restart the server.

    To restart your web server:
    Under Windows
    :
    Open your Apache Monitor (by default located in C:\Program Files\Zend\Apache2\bin\ApacheMonitor.exe if you installed Zend Core's bundled Apache) and select Restart.
    Under Windows Vista, you must restart the server from your Services Manager.
    Under Linux/Unix
    :
    Click the Restart Server button, found in the top-right of the Zend Core Administration GUI.

 

 

 

Instructions on how to complete a procedure

To configure your "Expose Remotely" settings:

  1. Choose the required option from the drop-down list:

  2. Always - Will expose all hosts

  3. Selective - Only exposes the hosts in the allowed host list

  4. Never - Will not expose any host

  1. Press Save .
    To apply the changes restart the server.

    To restart your web server:
    Under Windows
    :
    Open your Apache Monitor (by default located in C:\Program Files\Zend\Apache2\bin\ApacheMonitor.exe if you installed Zend Core's bundled Apache) and select Restart.
    Under Windows Vista, you must restart the server from your Services Manager.
    Under Linux/Unix
    :
    Click the Restart Server button, found in the top-right of the Zend Core Administration GUI.

 

Note:

The settings in the Zend Debugger Tab are only applicable when the Debugger extension is loaded. See the Zend Products tab for more on the Debugger extension.

 

 

Related Links

Related Links:

Configuration

PHP

Extensions

Zend Products

Misc. Directives