I. What needs to be added to the php.ini
The various addresses inside, according to the actual environment and needs to modify
[xdebug]zend_extension= "D:\phpStudy\php\php-7.1.12-x86\ext\php_xdebug-2.5.5-7.1-vc14.dll"; Whether to turn on remote debugging xdebug.remote_enable = ON, whether to turn on remote debugging auto-Start Xdebug.remote_autostart = 1; Allow debug client ipxdebug.remote_host=127.0.0.1; Whether to turn on debug content xdebug.profiler_enable = 0xdebug.profiler_enable_trigger = 0xdebug.profiler_output_name = cachegrind.out.%t. %p; debug output path xdebug.profiler_output_dir= "D:\phpStudy\tmp\xdebug" xdebug.show_local_vars=0xdebug.auto_trace = on; Trace output Path xdebug.trace_output_dir= "D:\phpStudy\tmp\xdebug"
Second, if the above configuration information is added to the system path in the PHP environment, you can debug PHP script three, add to the local Web environment, Debugging PHP Web page
Phpstrom commissioning, supported by Xdebug