Xdebug在PhpStorm Ubuntu 18 PHP中不起作用

时间:2019-07-09 05:47:14

标签: php phpstorm xdebug ubuntu-18.04

我的PHP版本:

enter image description here

我的PhpStorm:

PhpStorm

/etc/php/7.0/mods-available/xdebug.ini

zend_extension = /usr/lib/php/20151012/xdebug.so 
xdebug.show_error_trace = 1
xdebug.idekey=PHPSTORM
xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_connect_back=1

当我设置远程调试(断点不起作用)时,无法在PhpStorm中调试

  

我已经在Firefox中安装了xdebug扩展

我该如何解决?有什么建议吗?

1 个答案:

答案 0 :(得分:0)

  

我已解决问题

     

通过下载并安装

phpstorm新版本

现在调试工作正常。...