无法使用PHP Storm调试命中Drupal模块

时间:2013-10-25 00:00:52

标签: php debugging drupal xdebug phpstorm

我试图用PHP Storm和xdebug从Drupal打出一个模块。我可以点击index.php文件,但不是这个模块。任何线索?

zend_extension = "c:/wamp/bin/php/php5.3.13/zend_ext/php_xdebug-2.2.0-5.3-vc9.dll"

[xdebug]
xdebug.remote_enable = On
xdebug.profiler_enable = On
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
xdebug.remote_handler = dbgp

当我尝试从debug / servers部分验证远程环境时,我得到“无法执行验证脚本”。

1 个答案:

答案 0 :(得分:0)

不确定发生了什么,但今天开始工作了。我相信我打开了错误的模块文件,这是来自网站。 PHP Storm添加了包含相同代码的外部库,但如果我更新它,它将不会更新其他文件。所以我用断点更新了外部库文件并确认它正在工作。