User Guide > Tasks > Debugging Files and Applications > Setting Up Remote Debugging

Setting Up Remote Debugging

Before debugging on a server, when using remote PHP Script or PHP Web Page debugging, certain settings need to be configured to ensure that Zend Studio can communicate with your server.

 

 

Instructions on how to complete a procedure

To set up communication between Zend Studio and the server on which you are debugging:

  1. Ensure the Zend Debugger is installed on your server.
    The Zend Debugger comes bundled with Zend Server, but can also be downloaded as a separate component. For more information, see Installing the Zend Debugger.

  2. Ensure the machine on which your Zend Studio is installed is an allowed host for your debugger.
    The method for configuring this setting will depend on whether you have Zend Server, or the standalone Zend Debugger installed on your system.
    See Setting your Zend Studio to be an Allowed Hostfor more information.

  3. In Zend Studio, configure your server according to the instructions under Adding Servers in the PHP Servers Preferences.

  4. Ensure the correct settings are configured in your Debug Preferences and Installed Debuggers Preferences pages.

  5. Ensure you have a dummy.php file in your remote server's document root.

  6. If your server is situated behind a firewall or other security device, see Setting Up Tunneling for information on how to enable a communication tunnel.
    If you don't know whether your server is situated behind a firewall, contact your System Administrator.

Note:

The Zend Debugger has undergone several performance improvements in Zend Studio 10. If you encounter any issues, uncheck the Use New Protocol check-box on the Zend Debugger Settings preferences page. For more information, see Installed Debuggers Preferences.

 

 

Related Links:

Zend PHP Web Server

Using the Debugger

Debugging a PHP Web Page

Debugging a URL

Setting Up Tunneling

Setting your Zend Studio to be an Allowed Host

Configuring Platform to Auto detect Studio Settings

 

 

©1999-2013 Zend Technologies LTD. All rights reserved.