Я использую Zend Framework 3 с PhpStorm, я устанавливаю LAMP на Ubuntu 18.04.
При отладке кода я включаю значок отладки [extension] в браузере Chrome, затем включаю функцию начала прослушивания в PhpStorm, затем ставлю точки останова на методе контроллера домашней страницы, откуда загружается страница, и затем обновляю страницу, чтобы проверить, он останавливается на контрольных точках.
Я не уверен, что пропустил в настройке, не могу отладить код. Буду признателен за любую оказанную помощь.
и т.д. / PHP / 7,2 / моды-доступные / xdebug.ini
xdebug.show_error_trace = 1
zend_extension=/usr/lib/php/20170718/xdebug.so
xdebug.remote_autostart = 1
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.remote_log = /tmp/xdebug_remote.log
xdebug.remote_mode = req
xdebug.remote_port = 9001
xdebug.idekey = PHPSTORM
xdebug.remote_connect_back=1
и т.д. / PHP / 7,2 / apache2 / php.ini
[xdebug]
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
Подробности версии PHP:
shoebaamir123@ubuntu:~$ php -v
PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans







