PhpStorm
 
Get PhpStorm

Validate the configuration of a debugging engine

Last modified: 22 January 2025

PhpStorm can validate the configuration of Xdebug on a local or remote web server, detect the settings that are missing or inconsistent with others, explain inconsistencies and suggest fixes. The Run | Web Server Debug Validation dialog provides several options depending on how and where validation is done:

  • Output phpinfo(). PhpStorm parses the output which you copy and paste manually from the php -i CLI command or a web page rendered from phpinfo().

  • Local Web Server or Shared Folder. PhpStorm checks the debugger associated with a local web server. To do so, it creates a temporary validation script (_intellij_phpdebug_validator.php), deploys it to the target environment, runs it there, and then fetches and displays the output.

  • Remote Web Server. PhpStorm checks the debugger associated with a remote server. To do so, it creates a temporary validation script (_intellij_phpdebug_validator.php), deploys it to the target remote environment, runs it there, and then fetches and displays the output.

  • Debug Validation Script. PhpStorm generates a CLI command for the validation script (phpstorm_index.php). You can copy and manually execute this command on a running server, and have PhpStorm fetch and display the output.