Home >Backend Development >PHP Tutorial >phpStorm10 server+XDebug configuration

phpStorm10 server+XDebug configuration

WBOY
WBOYOriginal
2016-07-28 08:28:09847browse

phpStorm10 cracked version download address:
Link: http://pan.baidu.com/s/1pKQIncZ Password: yoo1
I use the apache server provided by XAMPP.
XDebug official website download: https://xdebug.org/

The steps are as follows:
1.
First download XDebug. The version number must correspond to the version number of php and the version number of apache, otherwise it may not be loaded. The first serial number after downloading XDebug is the apache version number, and the second is the php version number. As shown in the picture:
 phpStorm10服务器+XDebug配置
2.
Then modify the php.ini configuration file. This file is usually in C: It turns out that there is a semicolon in front of it, which is a comment, so be sure to remove it, otherwise you will find mistakes like me. . . . . The first zend_extension is used to load XDebug. So wherever you put XDebug, write the absolute path. It is generally best to place it under ext.
3.  phpStorm10服务器+XDebug配置 Configure phpStorm, Ctrl+Alt+S to open settings, find Build, Execute Deployment-》Deployment configuration as shown:


4.  phpStorm10服务器+XDebug配置 Find the language and framework –》PHP configuration as shown:

The Interpreter is the parser, so just find it.
 phpStorm10服务器+XDebug配置5.
Then configure xdebug in PHP-》Debug, as shown in the figure:



6.  phpStorm10服务器+XDebug配置 Configure Debug –》DBGp Proxy as shown in the figure:



7.  phpStorm10服务器+XDebug配置 Configure Servers, as shown in the figure:



8.  phpStorm10服务器+XDebug配置 Run/debug configuration, as shown in the figure:



 phpStorm10服务器+XDebug配置 Add a PHP Web Application, the configuration is as shown in the figure
 phpStorm10服务器+XDebug配置

9.  phpStorm10服务器+XDebug配置 Install the XDebug extension on your browser, for example, install Xdebug helper on chrome

Firefox can be googled and the settings are basically the same.

After installation, open the options as shown:

Select phpSTorm in the IDE key, (PHPSTORM) this value should be the same as in the php.ini configuration file.
 phpStorm10服务器+XDebug配置10.
Turn on monitoring of the browser, as shown in the picture:


 phpStorm10服务器+XDebug配置 This step is for debugging. When you set a breakpoint, as long as there is data on the web page submitted to php, it will be sent to phpstorm.
 phpStorm10服务器+XDebug配置').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i
').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the phpStorm10 server + XDebug configuration, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

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