https://viktorprogger.name/ru/posts/xdebug-docker-config-example.html
https://github.com/viktorprogger/xdebug-sample
https://habr.com/ru/articles/665860/
win openServer
zend_extension = xdebug
xdebug.client_discovery_header = ""
xdebug.client_host = "localhost"
xdebug.log_level = 1
xdebug.output_dir = "%sprogdir%/userdata/temp/xdebug"
xdebug.show_error_trace = 1
xdebug.remote_autostart = 1
xdebug.remote_enable=1
xdebug.remote_connect_back=true
xdebug.idekey=PHP_STORM
xdebug.remote_host=localhost
xdebug.remote_port=9003
xdebug.force_display_errors = 1
xdebug.mode=debug,develop
xdebug.discover_client_host = true
sudo su
apt-get install php-xdebug
cat <<EOT>> /etc/php/7.2/mods-available/xdebug.ini
xdebug.show_error_trace = 1
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_host=127.0.0.1
xdebug.idekey=PHP_STORM
xdebug.remote_autostart = 1
EOT
service apache2 restart
http://www.dieuwe.com/blog/xdebug-ubuntu-1604-php7
если F7 и F8 клавиши пошагово проходить. F7 если нужно зайти внутрь фунции. F8 пройти шаг без захода внутрь
генерим ссылки для куков
https://www.jetbrains.com/phpstorm/marklets/
Bookmark these links for future use
DEBUG:
Start debugger
Stop debugger
Debug this page


Добавить конфиг для дебага

терь можно ставить точки останова
remote xdebug VAGRANT
https://mihaly4.ru/blog/workenv/post/nastroika-xdebug-na-vagrant
php 8.3 debug
cat > /etc/php/8.3/mods-available/xdebug.ini << 'EOF'
; Xdebug 3.x Debug Mode Configuration
xdebug.mode=debug,develop
xdebug.start_with_request=yes
xdebug.client_host=127.0.0.1
xdebug.client_port=9003
xdebug.idekey=vscode
xdebug.log_level=0
xdebug.discover_client_host=0
EOF
cat /etc/php/8.3/mods-available/xdebug.ini