Zend Server User Guide > Tasks > Developing with Z-Ray > Debugging/Profiling

Debugging/Profiling

This procedure describes how to use Z-Ray to initiate a debugging/profiling session for a URL request in an IDE.

Note:

To use the Z-Ray, the page you are inspecting must be located on your Web server, and the Z-Ray needs to be enabled. For more information on enabling the Z-Ray, see Enabling/Disabling the Z-Ray.

PhpStorm:

Before initiating a debugging/profiling session from Z-Ray, make sure PhpStorm is listening to debug connections. For more information, see PhpStorm documentation.

Important:

These actions are only available if your IDE is installed on your machine, and Zend Server is configured to communicate with it. For more information, see Integrating with IDEs.

 

 

Instructions on how to complete a procedure

To debug/profile a page using Z-Ray:

  1. Open your page in a browser.
    As soon and the page loads, Z-Ray is displayed at the bottom of the page.
  2. Click the Debug icon , and select Debug current page or Profile current page.
    A Debugging/Profiling session is initiated and opened in your IDE.
 

 

 

Read Also

 

Developing with Z-Ray

   
  Integrating with Zend Studio   `