Home > Article > Backend Development > What is PHP Xdebug?
What is PHP Xdebug?
, editors that support Xdebug include PhpStorm, VSCode, etc.
PhpStorm installation method
phpStorm does not require the installation of plug-ins, so it is relatively simple to configure. Open the files in the editor in sequence -> Settings (or Ctrl Alt S shortcut key) brings up the settings interface, as shown below:
Then click Language and Framework->PHP->Debug again and then Xdebug only needs to set the port. It needs to be consistent with the port in php.ini. Other configurations are not necessary, as shown below:
Need to Start before debugging Listening For PHP debug Connections Click the icon in the upper right corner as shown below:
It is more convenient to install the plug-in in the browser during debugging. The download addresses of Chrome and Firefox plug-ins are given below, but due to a certain For some reasons, Chrome plug-ins are not easy to download.
Chrome https://addons.mozilla.org/en-US/firefox/addon/the-easiest-xdebug/
Recommended tutorial: "
PHP"
The above is the detailed content of What is PHP Xdebug?. For more information, please follow other related articles on the PHP Chinese website!