phpstorm设置断点过程
1.为php安装xdebug,方法在上一篇中有详细介绍 2.注意这个时候需要修改php.ini内容如下: [Xdebug] zend_extension_ts ="d:/wamp/php/ext/php_xdebug-2.1.2-5.2-vc6.dll" xdebug.auto_trace=On xdebug.collect_params=On xdebug.collect_return=On xdebug.trace_output_dir="d:/wamp/php/debuginfo" xdebug.profiler_enable=On xdebug.profiler_output_dir="d:/wamp/php/debuginfo" xdebug.idekey=PhpStorm xdebug.remote_enable=on xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.remote_handler=dbgp 3.phpstorm配置 客户端调试,打开 phpStorm ,进入File>Settings>PHP>Servers,这里要填写服务器端的相关信息,name填localhost,host填localhost,port填80,debugger选 XDebug 进入File>Settings>PHP