【发布时间】:2015-04-01 14:13:27
【问题描述】:
我正在使用 chrome 和 mozilla。我的编辑器是记事本++。我只是尝试为 php 设置一个调试器。我关注了this link和this link
我是从 SO 答案中找到的。我的步骤是
Downloaded `php_xdebug-2.3.2-5.6-vc11-x86_64.dll` and placed inside `php\ext`.
Added the following lines in `php.ini`
zend_extension=php_xdebug-2.3.2-5.5-vc11-x86_64.dll
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.idekey=default
xdebug.remote_log="c:\temp\xdebug\xdebug.log"
xdebug.show_exception_trace=0
xdebug.show_local_vars=9
xdebug.show_mem_delta=0
xdebug.trace_format=0
xdebug.profiler_enable = 1
xdebug.profiler_output_dir ="c:\temp\xdebug"
在temp 中创建了xdebug 文件夹。我的系统是windows 64位。 PHP版本是5.6.2。 [重新启动 Apache - 没有错误]
Then downloaded DBGp plugin and placed dll file inside plugins directory of Notepad++;
[Restarted Npp]
plugins->DBGp -> Config
127.0.0.1 EMPTY htdocspath htdocs path
htdocs 路径是 c:\Users\me\Server\Apache24\htdocs
设置断点并使用参数?XDEBUG_SESSION_START=debugMe开始我的页面
但它并没有在我的断点处停止。
我该如何解决这个问题或我的最终目标是逐步调试 PHP。其他选项是什么。
【问题讨论】: