【发布时间】:2012-10-17 22:24:24
【问题描述】:
我正在尝试安装 sublime text 2 插件https://github.com/Kindari/SublimeXdebug/blob/master/README.md。但我无法让它工作:
到目前为止,我有几个问题:
上面写着:
"settings": {
"xdebug": { "url": "http://your.web.server" }
}
我的本地 wamp 服务器是“htp://127-0-0-1”——是这个意思吗?
按照 Xdebug 安装向导后,PHP.ini 文件看起来像这样:
zend_extension = \xampp-portable\php\ext\php_xdebug-2.2.1-5.4-vc9.dll
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "\xampp-portable\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
;xdebug.remote_enable = 0
;xdebug.remote_handler = "dbgp"
;xdebug.remote_host = "127.0.0.1"
;xdebug.trace_output_dir = "\xampp-portable\tmp"
这对吗?
3) 另外,要启动会话,我是否需要在 URL 中显示 XDEBUG_SESSION_START。我已经在 chrome 中安装了 xdebug 帮助程序,并尝试了 htp://127-0-0-1/test1/index?XDEBUG_SESSION_START chrome的地址栏
提前非常感谢您。即使回答 1 或 2 个问题也会有很大帮助
问候,
比尔
您好 Bob - 感谢您查看此内容。按照你的指示,我有一部分工作。在接下来的 24-48 小时内,我会多玩一点,并提出后续问题 - 比尔
【问题讨论】:
标签: php xdebug sublimetext2