Phpstudy I'm using the php5.5 version of the default Xdebug extension is installed without saying how to install it.
1. Open the php.ini file to modify the following:
[XDebug]
Xdebug.profiler_append= 0
xdebug.profiler_enable= 1
Xdebug.profiler_enable_trigger= 0
Xdebug.profiler_output_dir="F:\phpStudy\tmp\xdebug"
Xdebug.trace_output_dir="F:\phpStudy\tmp\xdebug"
Xdebug.profiler_output_name= "Cachegrind.out.%t.%p"
xdebug.remote_enable= 1
Xdebug.remote_handler= "DBGP"
Xdebug.remote_host= "127.0.0.1"
xdebug.remote_port = 9000
zend_extension = "F:\phpStudy\php55n\ext\xdebug.dll"
xdebug.idekey = phpstorm
Configured as above
2. Modify the Phpstorm configuration
Figure 1 Opening the settings
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7E/C8/wKioL1cIvxmTj942AABgjLVghsM601.png "title=" Settings " Width= "321" height= "683" border= "0" hspace= "0" vspace= "0" style= "width:321px;height:683px;" alt= " Wkiol1civxmtj942aabgjlvghsm601.png "/>
Figure 2 Search Xdebug port information modification if it's 9000, don't change it.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7E/CB/wKiom1cIvyKxQUlnAAHabpGfyuc606.png "title=" Xdebug Port Configuration "alt=" Wkiom1civykxqulnaahabpgfyuc606.png "/>
Figure 3 Configuring the host Port IDE key ( note to be consistent with php.ini )
650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M00/7E/CB/wKiom1cIv8_iUOYyAAI0JDNGq-o847.png "title=" config key " alt= "Wkiom1civ8_iuoyyaai0jdngq-o847.png"/>
Figure 4 Configuring the path of the PHP interpreter
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7E/C8/wKioL1cIwZLSnLIsAADgJ1hMw34826.jpg "title=" Set resolution Path 1 "alt=" wkiol1ciwzlsnlisaadgj1hmw34826.jpg "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7E/CC/wKiom1cIxSOjgfxwAADZlaTQ_sY682.png "title=" Add Configuration " alt= "Wkiom1cixsojgfxwaadzlatq_sy682.png"/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7E/CC/wKiom1cIxYXgHjpZAACdIu5FIbA378.png "title=" Qq20160409164620.png "alt=" Wkiom1cixyxghjpzaacdiu5fiba378.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7E/CC/wKiom1cIxcvRRtXWAAFK2OU7Qg0612.png "title=" Qq20160409164842.png "alt=" Wkiom1cixcvrrtxwaafk2ou7qg0612.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7E/CC/wKiom1cIxmriInfSAACliQ5sgVc263.png "title=" Qq20160409165302.png "alt=" Wkiom1cixmriinfsaacliq5sgvc263.png "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7E/C8/wKioL1cIxyzjIa26AAA7td_5TJU801.png "title=" Qq20160409165155.png "alt=" Wkiol1cixyzjia26aaa7td_5tju801.png "/>
Open My Code
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7E/C9/wKioL1cIyeyBsIVhAALvUm2xYso655.png "style=" float: none; "title=" Qq20160409171343.png "alt=" Wkiol1ciyeybsivhaalvum2xyso655.png "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7E/C9/wKioL1cIye6ztpMjAAJdoU4kol4840.png "style=" float: none; "title=" Qq20160409171658.png "alt=" Wkiol1ciye6ztpmjaajdou4kol4840.png "/>
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7E/C9/wKioL1cIye_TNrWdAABercQOvkc712.png "style=" float: none; "title=" Qq20160409171748.png "alt=" Wkiol1ciye_tnrwdaabercqovkc712.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7E/C9/wKioL1cIyfDR9MOZAAD1R_gaOU0263.png "style=" float: none; "title=" Qq20160409171914.png "alt=" Wkiol1ciyfdr9mozaad1r_gaou0263.png "/>
3 FAQs
Access page ready to enter a breakpoint, phpstorm error: cannot accept external Xdebug connection:cannot evaluate expression ' isset ($_server[' Php_ide_ CONFIG ']) ';
One possible cause of this problem is: The server-side php.ini is configured:
Extension=/path/xdebug.so
You should keep only the following one:
Zend_extension=/path/xdebug.so
Resources
1 phpstorm+xdebug Configuration for breakpoint debugging
Http://www.chenxuanyi.cn/xampp-phpstorm-xdebug.html
2 Use the Start Debug button in the following Web page to set the variables required for xdebug in the cookie.
http://www.jetbrains.com/phpstorm/marklets/
3 cannot accept external Xdebug connection:cannot evaluate expression ' isset ($_server[' php_ide_config '])
Http://devnet.jetbrains.com/message/5463083?tstart=0
This article is from the "Technical Blog" blog, please be sure to keep this source http://5639958.blog.51cto.com/5629958/1762113
Phpstudy development environment Phpstorm XDEBUG configuration