【问题标题】:Xdebug PHPStorm IDE ubuntuXdebug PHPStorm IDE ubuntu
【发布时间】:2011-05-21 12:08:58
【问题描述】:

我正在尝试在 ubuntu 11.04 上使用 phpstorm 2.1 配置 xDebug 在 phpstorm 中,我从这里 http://www.jetbrains.com/phpstorm/marklets/ 中单击“开始监听 PHP 调试连接”和“xdebug 开始会话”firefox 书签。 但什么都不会发生。

PHP 5.3:
extension="xdebug.so" (not zend)

[xdebug]
xdebug.idekey = "PHPSTORM"
xdebug.remote_enable = 1
xbebug.remote_connect_back=1
xdebug.remote_port=9000

我绞尽脑汁为什么它不起作用。需要建议。非常感谢

UPD 已解决:XDEBUG 应作为 zend 扩展安装!

【问题讨论】:

    标签: php xdebug phpstorm


    【解决方案1】:

    请检查您的 phpinfo() 输出 - 它应该包含“Xdebug”部分。见Xdebug installation guide

    Xdebug 安装正确吗?

    【讨论】:

      【解决方案2】:

      在此处查看教程:http://blogs.jetbrains.com/webide/2011/02/zero-configuration-debugging-with-xdebug-and-phpstorm-2-0/

      您还可以查看 KomodoIDE 远程调试说明,看看它们是否对您有帮助:http://docs.activestate.com/komodo/6.1/debugphp.html#debugphp_top

      【讨论】:

      • 你能通过 9000 端口远程登录到远程服务器吗?
      • telnet 127.0.0.1:9000 telnet:无法解析 127.0.0.1:9000/telnet:名称或服务未知
      • 127.0.0.1 是本地服务器。您需要通过 9000 端口从工作站远程登录到远程服务器
      猜你喜欢
      • 1970-01-01
      • 2021-04-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-02-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多