2017-05-08 48 views
1

我使用xDebug。我正在尝试在Atom中使用xDebug。我正在使用Linux Mint作为操作系统。我phpinfo输出像下面在原子上使用xDebug

enter image description here

我的Atom设置是像下面

enter image description here

我成功安装了XDebug。

enter image description here

我的Atom是观点是像下面

enter image description here

我使用的浏览器扩展还

enter image description here

我如何调试的Atom使用Xdebug的?

回答

2

底部打开你的php.ini文件并粘贴这一路:

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

而且zend_extension之前删除;

+0

谢谢@Mike Deluca。你这行''xdebug.remote_host = localhost'帮助我。谢谢。 –