0

问题是中断不适用于从 webroot 移出的文件。

当所有文件都在 webroot 下时,一切正常:

z:\home\mysite.dev\www\framework\
z:\home\mysite.dev\www\protected\
z:\home\mysite.dev\www\index.php

由于项目的具体情况,我已将 /framework 和 /protected 移出 webroot:

z:\common\yii\framework\
z:\home\mysite.dev\protected\
z:\home\mysite.dev\www\index.php

所以现在一些 /framework 文件中 index.php 的中断正在工作,而其他的则没有。看来我应该为 xdebug 做一些棘手的服务器映射,有人可以给我提示吗?

来自 php.ini 的 xdebug 设置:

zend_extension="\usr\local\php5\ext\php_xdebug-2.2.0-5.3-vc9.dll"
xdebug.auto_trace = 0
xdebug.default_enable = 1
xdebug.idekey = "PHPSTORM"
xdebug.manual_url = "http://www.php.net"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_mode = "req"
xdebug.remote_port = 9000

Win7x64 Denwer3 PHPStorm 6.0.3

4

0 回答 0