【问题标题】:Notepad ++ DBGp Debugger plugin not workingNotepad ++ DBGp 调试器插件不起作用
【发布时间】:2014-06-04 06:52:26
【问题描述】:

我已经两天尝试配置记事本 ++ DBGp 调试插件,但它仍然无法正常工作。 我已经搜索了很多互联网站点,但没有成功。

我的设置如下:

我有我的电脑: 安装了记事本++。

我有一个运行 iis7 的 windows 服务器,并且有以下 ip :10.83.A.B

在 windows 服务器上,我在 php.ini 文件中安装了 Xdebug:

zend_extension = C:\PHP\ext\php_xdebug-2.2.5-5.5-vc11-nts.dll

[PHP_XDEBUG-2.2.5-5.5-VC11-NTS]
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=10.83.A.B
xdebug.remote_port=9000
xdebug.remote_log="C:\inetpub\wwwDevelop\logs"
xdebug.idekey=debug

如果我检查 phpinfo 会显示 Xdebug 模块。

记事本中笔记本电脑上的 DBGp 配置如下;

Remote Server : 10.83.A.B
IDE KEY : debug
Remote Path:\\SERVER-NAME\inetpub\wwwDevelop
Local Path:\\SERVER-NAME\inetpub\wwwDevelop

【问题讨论】:

    标签: php windows iis-7 notepad++ xdebug


    【解决方案1】:

    我有同样的情况,添加以下所有内容让它对我有用。当然是替换路径。也许你错过了一个重要的......

    zend_extension = C:\PHP\ext\php_xdebug-2.2.5-5.5-vc11-nts.dll
    xdebug.remote_enable=1
    xdebug.remote_handler=dbgp
    xdebug.remote_host=127.0.0.1
    xdebug.remote_mode=req
    xdebug.idekey=default
    xdebug.remote_log="D:/www/ourcommunity.dev/log/xdebug.log"
    xdebug.remote_port=9000
    xdebug.show_exception_trace=0
    xdebug.show_local_vars=9
    xdebug.show_mem_delta=0
    xdebug.trace_format=0
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-07-16
      • 2011-07-05
      • 2012-03-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多