Mik*_*vim 0 php xdebug phpstorm macos-high-sierra phpstorm-2017.2
我的开发环境是: - MacOs High Sierra - PhpStorm - PHP 5.6 - Apache 2.4 - Xdebug 2.5.5
xdebug的php配置文件:
[xdebug]
zend_extension="/usr/local/opt/php56-xdebug/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_mode=jit
xdebug.remote_autostart=1
xdebug.remote_handler = dbgp
xdebug.force_display_errors=1
xdebug.idekey="PHPSTORM"
xdebug.remote_enable=1
xdebug.show_error_trace=1
xdebug.remote_log="/Users/user/www/xdebug_remote.log"
xdebug.profiler_enable=0
xdebug.profiler_output_dir="/Users/user/www/xdebug_profiler"
Run Code Online (Sandbox Code Playgroud)
在PHPStorm调试验证工具中,似乎所有内容都已启动并运行:
xdebug调试日志是
log opened at 2018-03-21 12:56:51
I: Connecting to configured address/port: 127.0.0.1:9000.
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///Users/users/www/slt/index.php" language="PHP"
xdebug:language_version="5.6.33" protocol_version="1.0" appid="2764"
idekey="PHPSTORM"><engine version="2.5.5"><![CDATA[Xdebug]]></engine><author>
<![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url>
<copyright><![CDATA[Copyright (c) 2002-2017 by Derick Rethans]]></copyright>
</init>
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" status="stopping" reason="ok">
</response>
Log closed at 2018-03-21 12:56:51
Run Code Online (Sandbox Code Playgroud)
要在调试模式下运行,请按照这些步骤操作.
我无法弄清楚为什么没有击中断点.谁能给我一些提示?
| 归档时间: |
|
| 查看次数: |
464 次 |
| 最近记录: |