PhpStorm 9.0.0 Help

Configuring Zend DebuggerPHP Debugging Session

Validating the Configuration of a Debugging Engine

PhpStorm can validate your configuration of Xdebug or Zend Debugger and tell you if some setting is missing (for example, xdebug.remote_enable) or inconsistent with other settings. When configuring the PHP interpreter for a project, PhpStorm informs you whether a debugger is installed in your local PHP development environment and reports on the Xdebug or Zend Debugger version used. For details, see Configuring a Debugging Engine and Enabling PHP Support.

You can also get more detailed information about the debugging engine on a local or remote Web server.

  1. On the main menu, choose Run | Web Server Debug Validation.
  2. In the Web Server Debug Validation Dialog that opens, choose the Web server to validate the debugger on.
    • Choose Local Web Server or Shared Folder to check a debugger associated with a local Web server.
      • Path to Create Validation Script: In this field, specify the absolute path to the folder under the server document root where the validation script will be created. For Web servers of the type Inplace, the folder is under the project root.

        The folder must be accessible through http.

      • URL to Validation Script: In this text box, type the URL address of the folder where the validation script will be created. If the project root is mapped to a folder accessible through http, you can specify the project root or any other folder under it.
    • Choose Remote Web Server to check a debugger associated with a remote server.
      • Path to Create Validation Script: In this field, specify the absolute path to the folder under the server document root where the validation script will be created. The folder must be accessible through http.
      • Deployment Server: In this field, specify the server access configuration of the type Local Server or Remote Server to access the target environment. For details see Configuring Synchronization with a Web Server.

        Choose a configuration from the drop-down list or click the Browse button browseButton in the Deployment dialog.

  3. Click Validate to have PhpStorm create a validation script, deploy it to the target remote environment, and run it there.

See Also

Last modified: 25 July 2015