将 xDebug 与 Atom 结合使用

Using xDebug with Atom

我刚开始使用 xDebug。我正在尝试将 xDebug 与 Atom 一起使用。我正在使用 Linux Mint 作为 OS。我的 phpinfo 输出如下所示

我的Atom设置如下

我成功安装了xDebug。

我的 Atom 视图如下所示

我也在使用浏览器扩展程序

如何在 Atom 中使用 xDebug 进行调试?

打开您的 php.ini 文件并将其粘贴到底部:

xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000

并删除 zend_extension 之前的 ;