Home > Backend Development > PHP Tutorial > A brief discussion on php phpStorm xdebug configuration method, phpstormxdebug_PHP tutorial

A brief discussion on php phpStorm xdebug configuration method, phpstormxdebug_PHP tutorial

WBOY
Release: 2016-07-12 09:08:16
Original
940 people have browsed it

A brief discussion on php phpStorm xdebug configuration method, phpstormxdebug

1. Download the xdebug file

http://xdebug.org/wizard.php

Copy the source code of phpinfo() into the text box, xdebug will prompt how to configure and which version of xdebug to download.

All download addresses:

http://www.xdebug.org/download.php

2. Configure php.ini and add it at the end.

zend_extension="php_xdebug-2.3.3-5.6-vc11.dll"
xdebug.remote_enable = On
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
xdebug.idekey = PHPSTROM
Copy after login

3.chrome’s xdebug configuration

Configure it to "phpStorm" in the IDE key

Project address: https://github.com/mac-cain13/xdebug-helper-for-chrome

4.phpStorm related configuration

Open phpStorm,

-Enter File>Settings>PHP>Servers. Here you need to fill in the relevant information on the server side. Fill in localhost for name, fill in localhost for host, fill in 80 for port, and debugger

Select XDebug

-Enter File>Settings>PHP>Debug, see the XDebug tab, fill in port 9000, and other defaults

-Enter File>Settings>PHP>Debug>DBGp Proxy, fill in phpStorm for IDE key, fill in localhost for host, and fill in 80 for port

-Click OK to exit settings.

5. Other configurations:

Turn on monitoring (phone button) in phpStorm.

Restart apache, such as using the command line: net stop apache24 & net start apache24;

Check whether xdebug is configured correctly: Enter the php.exe directory: execute php.exe -m to view related modules.

Related file download address:

http://pan.baidu.com/share/link?shareid=1091659896&uk=3829305083

http://pan.baidu.com/share/link?shareid=1099541549&uk=3829305083

The above content is the php phpStorm xdebug configuration method introduced in this article. I hope you like it.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1057093.htmlTechArticleA brief discussion on php phpStorm xdebug configuration method, phpstormxdebug 1. Download the xdebug file http://xdebug.org/wizard. php Copy the source code of phpinfo() into the text box, xdebug will prompt how to configure and...
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template