【问题标题】:Laravel 5 | How to install and configure "xdebugger" in PHPStrom in Ubuntu?Laravel 5 |如何在 Ubuntu 的 PHPStrom 中安装和配置“xdebugger”?
【发布时间】:2016-02-10 12:12:49
【问题描述】:

我在 phpStorm 中使用 Laravel 5,想用 xdebug 开始调试。

在我的 /etc/php5/cli/conf.d/xdebug.ini 中:

;xdebug configuration
 zend_extension = /usr/lib/php5/20090626/xdebug.so
 xdebug.remote_host = 127.0.0.1
 xdebug.remote_enable = 1
 xdebug.remote_port = 9000
 xdebug.remote_handler = dbgp
 xdebug.remote_mode = req

我得到错误:

Error running Laravel: Port 9000 is busy

【问题讨论】:

  • 对不起 IDE : phpstrom
  • 这个错误似乎来自 Laravel 而不是 xdebug 或 PhpStorm。您需要提供更多信息 - 例如在看到此错误等之前你会做什么。
  • 我将“xDebug”服务器的端口设置为8080。
  • 我也设置了 9000, 9001, 10000... 但仍然在加载

标签: php phpstorm xdebug


【解决方案1】:

您好,我有一个很好的教程,可以在 Visual Studio 代码上安装 xdebugger。 请检查一下。

Xdebugger Installation on Visual Studio

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-01-08
    • 2015-04-20
    • 2016-10-23
    • 2016-02-12
    • 1970-01-01
    • 2017-09-06
    相关资源
    最近更新 更多