我想通过xdebug输出的错误消息在浏览器中显示为链接,以便我可以使用TextMate快速打开它们。如何正确配置xdebug.file_link_format?
添加以下行到我的php.ini文件,重新启动Apache和增加了一些语法错误,我的PHP脚本之一,但文件名不显示为一个链接。 Xdebug在我的系统上工作正常。
xdebug.file_link_format="txmt://open/?url=file://%f&line=%l"
是否需要设置其他配置才能使其工作?
编辑:这里都在我的php.ini的Xdebug的相关配置设置:
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.file_link_format="txmt://open/?url=file://%f&line=%l"
您的Xdebug版本? – erenon 2010-05-18 16:42:23
我有Xdebug v2.0.5 – 2010-05-20 18:27:45