Cannot parse server name for external Xdebug connection. To fix it create environment variable PHP_IDE_CONFIG on the remote server.
To fix it create environment variable PHP_IDE_CONFIG on the remote server. Windows: set PHP_IDE_CONFIG="serverName=SomeName" Linux / Mac OS X: export PHP_IDE_CONFIG="serverName=SomeName".
[xdebug]
zend_extension=xdebug
xdebug_remote_connect_back=1
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9001
xdebug.autostart=0
xdebug.idekey="PHPSTORM"
xdebug.client_host=127.0.0.1
xdebug.client_port=9000
xdebug.mode=debug
xdebug.log="/var/log/xdebug/xdebug.log"
xdebug.discover_client_host=1
xdebug.start_with_request=yes
xdebug.extended_info = 1









Please sign in to leave a comment.
As a result, its very hard to debug
This is happening because you have
xdebug.remote_autostart/xdebug.start_with_requestenabled, so Xdebug starts for any PHP run and sends the debug data to the IDE. Is there a reason you've enabled it?