PHPStorm Xdebug 和 Wamp - 不检测断点
PHPStrom Xdebug and Wamp - Does not detect breaking point
我无法让 Xdebug 与 PHPStorm2016 和 Wamp 一起工作。这是一些细节。
我在 Chrome 上安装了 PhpStorm、Xdebug,在我的本地机器上安装了 WAMP。
我的工作目录位于 www/b2b-working/
中的 WAMP
PHP.INI
[xdebug]
zend_extension ="C:\wamp64\bin\php\php5.6.16\ext\php_xdebug-2.4.0-5.6-vc11-x86_64.dll"
xdebug.remote_enable = on
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="C:/wamp64/tmp"
xdebug.show_local_vars=0
Debug Configuration and server pictures
如果我开始侦听 PHP 调试连接 localhost 被阻止,我需要在调试器中单击下一步以显示页面
但是,当我试图在位于 localhost/b2b-working 的项目上设置断点时,它没有捕捉到任何断点。我不知道我错过了什么。
We服务器上的Validate Debugger Configuration全部勾选
欢迎任何帮助
我找到了解决办法。基本上,您需要使用 following instructions
编辑 .htaccess 文件
我无法让 Xdebug 与 PHPStorm2016 和 Wamp 一起工作。这是一些细节。
我在 Chrome 上安装了 PhpStorm、Xdebug,在我的本地机器上安装了 WAMP。 我的工作目录位于 www/b2b-working/
中的 WAMPPHP.INI
[xdebug]
zend_extension ="C:\wamp64\bin\php\php5.6.16\ext\php_xdebug-2.4.0-5.6-vc11-x86_64.dll"
xdebug.remote_enable = on
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="C:/wamp64/tmp"
xdebug.show_local_vars=0
Debug Configuration and server pictures
如果我开始侦听 PHP 调试连接 localhost 被阻止,我需要在调试器中单击下一步以显示页面
但是,当我试图在位于 localhost/b2b-working 的项目上设置断点时,它没有捕捉到任何断点。我不知道我错过了什么。
We服务器上的Validate Debugger Configuration全部勾选
欢迎任何帮助
我找到了解决办法。基本上,您需要使用 following instructions
编辑 .htaccess 文件