Home  >  Article  >  Backend Development  >  What is PHP Xdebug?

What is PHP Xdebug?

Guanhui
GuanhuiOriginal
2020-06-24 14:45:283739browse

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:

What is PHP Xdebug?

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:

What is PHP Xdebug?

Need to Start before debugging Listening For PHP debug Connections Click the icon in the upper right corner as shown below:

What is PHP Xdebug?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is PHP HashTable?Next article:What is PHP HashTable?