PhpStorm никогда не останавливается на точках останова с Xdebug

Я пытаюсь настроить PhpStorm для работы с Xdebug на удаленном сервере. С Xdebug на локальном хосте с WAMP это работает.

Я использовал Putty для туннелирования порта 9000 с моего удаленного сервера, работает telnetting, я получаю черный экран.

Конфигурация Xdebug выглядит следующим образом:

zend_extension = /usr/lib64/php/modules/xdebug.so
xdebug.remote_enable = 1
xdebug.remote_host="127.0.0.1"xdebug.remote_autostart =1
xdebug.remote_enable =1
xdebug.remote_port=9000

Всякий раз, когда я нажимаю отладку на PhpStorm, я по какой-то причине зависает при «подключении к localhost: 3308».

Я использую Xdebug helper 1.6.1 в Chrome 63. На своем сервере я использую Xdebug 2.6 с PHP версии 7.1.10. Я использую PhpStorm 2017.3.1.

РЕДАКТИРОВАТЬ 1:
кажется, что журнал не открыт на стороне сервера, вот журнал:

Log opened at 2017-12-26 11:11:31
I: Connecting to configured address/port: 127.0.0.1:9009.
W: Creating socket for '127.0.0.1:9009', poll success, but error: Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2017-12-26 11:11:31

Log opened at 2017-12-26 11:11:31
I: Connecting to configured address/port: 127.0.0.1:9009.
W: Creating socket for '127.0.0.1:9009', poll success, but error: Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2017-12-26 11:11:31

Log opened at 2017-12-26 11:11:31
I: Connecting to configured address/port: 127.0.0.1:9009.
W: Creating socket for '127.0.0.1:9009', poll success, but error: Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2017-12-26 11:11:31

Log opened at 2017-12-26 11:11:31
I: Connecting to configured address/port: 127.0.0.1:9009.
W: Creating socket for '127.0.0.1:9009', poll success, but error: Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2017-12-26 11:11:31

Log opened at 2017-12-26 11:11:31
I: Connecting to configured address/port: 127.0.0.1:9009.
W: Creating socket for '127.0.0.1:9009', poll success, but error: Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2017-12-26 11:11:31

локальный telnetting к порту 9009 отклонен.

Кто-нибудь знает, почему это не работает?

0

Решение

Измените порт на 9009 и не забудьте изменить этот параметр в PhpStorm

2

Другие решения

Других решений пока нет …