Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слева Предыдущая версия | |||
php:xdebug [2018/06/14 10:10] – [Основный настройки] mirocow | php:xdebug [2025/03/07 23:57] (текущий) – mirocow | ||
---|---|---|---|
Строка 6: | Строка 6: | ||
{{: | {{: | ||
+ | |||
+ | ==== v2.* ==== | ||
+ | |||
+ | < | ||
+ | [Xdebug] | ||
+ | zend_extension=xdebug.so | ||
+ | xdebug.remote_enable=1 | ||
+ | xdebug.remote_autostart=1 | ||
+ | xdebug.remote_connect_back=off | ||
+ | xdebug.remote_host=host.docker.internal | ||
+ | ;# 9000 is default (not required to set). | ||
+ | xdebug.remote_port=9000 | ||
+ | </ | ||
+ | |||
+ | ==== v3.* ==== | ||
+ | |||
+ | < | ||
+ | [Xdebug] | ||
+ | zend_extension=xdebug.so | ||
+ | xdebug.mode=debug | ||
+ | xdebug.start_with_request=yes | ||
+ | xdebug.client_host=host.docker.internal | ||
+ | ;# 9003 is now the default (set this for old PhpStorm settings). | ||
+ | xdebug.client_port=9000 | ||
+ | </ | ||
+ | |||
+ | ==== xdebug.ini ==== | ||
+ | |||
nano ./ | nano ./ |