phpstormn 中 xdebug 的详细配置2

配置PHPStorm


图1:首先配置PHP解释器的路径

 


图2:File>Settings>PHP>Servers,这里要填写服务器端的相关信息,name填localhost,host填localhost,port填80,debugger选XDebug

 


图3:进入File>Settings>PHP>Debug,看到XDebug选项卡,port填9010,其他默认

 


图4:进入File>Settings>PHP>Debug>DBGpProxy,IDE key填PHPSTORM,host填localhost,port 填80

 


图5:在phpStorm里打开监听,就是一个电话一样的按钮

 


图6:在浏览器里打开XDebug工具,访问localhost,与phpStorm连接成功!

 

 

 

posted @ 2014-11-16 18:34  大白驴  阅读(250)  评论(0编辑  收藏  举报