【发布时间】:2019-07-09 05:47:14
【问题描述】:
我的 PHP 版本:
我的 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 扩展
我该如何解决这个问题?有什么建议吗?
【问题讨论】:
-
究竟如何测试xdebug,如何组织部署?是否可以尝试一些非常简单的脚本,并在一些“回声”或类似的东西上设置断点?我假设您已经熟悉它,但以防万一:jetbrains.com/help/phpstorm/zero-configuration-debugging.html
标签: php phpstorm xdebug ubuntu-18.04