nginx + php php-fpm + xdebug + phpstorm
Я положил в самом начале моего index.php
Код: Выделить всё
echo "foobar";
exit;
Код: Выделить всё
zend_extension="/absolute/path/to/xdebug.so"
xdebug.mode = debug
xdebug.start_with_request = trigger
xdebug.discover_client_host = 1
xdebug.client_port = 9003
< /code>
on phpstorm: < /p>
Settings > PHP > Debug port: 9003 - Can accept external connections: YES
Settings > PHP > Servers:
Servers list: www.example.com
Server settings for www.example.com
Name: www.example.com
Host: /absolute/path/to/www/www.example.com/html
(inside html is index.php that is the first script executed)
Port: 443
Debugger: Xdebug
Project files: (a single entry)
/absolute/path/to/www/www.example.com/html
/> edit < /strong> < /p>
Может быть, эта деталь может иметь отношение к решению решения. См. Image ...
Подробнее здесь: https://stackoverflow.com/questions/797 ... h-phpstorm
Мобильная версия