Phpstorm 10.0.3激活码、Xdebug断点调试配置

激活码http://idea.lanyus.com

PHPSTORMXdebug断点调试

挺好关于Xdebug断点调试配置的文章

搞了一天终于成功了于是赶紧来总结一下经验,防止以后再麻烦半天。

首先配置PHP环境我用的5.6

 

配置端口

 

Xdebug配置

 

 

以上为默认设置,防止下次修改再来一遍

后面为载入项目后

 

项目根目录

 

这里用PHPstudy,首先通过php扩展打开xdebug

 

配置php.ini文件

[XDebug]

xdebug.profiler_append = 0

xdebug.profiler_enable = 1

xdebug.profiler_enable_trigger = 0

xdebug.profiler_output_name = "cache.out.%t-%s"

xdebug.remote_enable = 1

xdebug.remote_handler = "dbgp"

xdebug.remote_host = "localhost"

xdebug.remote_port=9000

xdebug.idekey= PHPSTROM

xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug"

xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug"

zend_extension="D:\phpStudy\php\php-5.6.27-nts\ext\php_xdebug.dll"

Phpstudy自动配置的无需修改,只需要添加上其他的

这里就配置完成了。

然后下载谷歌浏览器和他的插件JetBrains IDE SupportXdebug helper

 

猜你喜欢

转载自www.cnblogs.com/ashe666/p/8974088.html