Home >Backend Development >PHP Tutorial >phpstorm xdebug debugging configuration
This is the first time to develop using PhpStorm. Various configurations will make development easier.
xdebug installation
Step one: Enable the xdubug extension in php.ini
[XDebug] xdebug.profiler_append = 0 xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir ="C:\Program Files\phpStudy\tmp\xdebug" xdebug.trace_output_dir ="C:\Program Files\phpStudy\tmp\xdebug" xdebug.profiler_output_name = "cache.out.%t-%s" xdebug.remote_enable = 1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "127.0.0.1" zend_extension="C:\Program Files\phpStudy\php53\ext\xdebug.dll"and check whether phpinfo is installed successfully. If you are using the phpstudy integrated environment, just open it in the extension
Step 2: Add the plug-in to the Firefox browser
Please see the corresponding xdebug plug-in for each browser here and click to open the link
Step 3: Open phpstorm and enable debug as shown below
At this point, phpstorm is configured using xdebug.
Open any php file and set a breakpoint, open The easizer xdebug in the browser and you can start the xdebug debugging journey!
The above introduces the phpstorm xdebug debugging configuration, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.