Home >Backend Development >PHP Tutorial >phpStorm10 server+XDebug configuration
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:
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.
Configure phpStorm, Ctrl+Alt+S to open settings, find Build, Execute Deployment-》Deployment configuration as shown:
4.
Find the language and framework –》PHP configuration as shown:
The Interpreter is the parser, so just find it.
5.
Then configure xdebug in PHP-》Debug, as shown in the figure:
6.
Configure Debug –》DBGp Proxy as shown in the figure:
7.
Configure Servers, as shown in the figure:
8.
Run/debug configuration, as shown in the figure:
Add a PHP Web Application, the configuration is as shown in the figure
9.
Install the XDebug extension on your browser, for example, install Xdebug helper on chrome
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.
10.
Turn on monitoring of the browser, as shown in the picture:
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.
').addClass('pre-numbering').hide();
$(this).addClass('has-numbering').parent().append($numbering);
for (i = 1; i
').text(i));
};
$numbering.fadeIn(1700);
});
});