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.

Note:

The following instructions explain how to set up remote debugging with the Zend Debugger. For information on remote debugging using SSH Tunneling, see Setting Up SSH Tunneling.

 

 

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.

  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 Host for more information.

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

  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 Zend Debugger 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.