[xdebug-general] Re: Is xDebug available for PHP 7.1.9 ?

From: <castor_troy[@]tut.by>
Date: Wed, 20 Sep 2017 10:23:00 +0300



I have the project which is installed under vagrant machine.
I have Ubuntu 14.04 on this vagrant installation.
My project uses PHP 7.1.9
I have installed xdebug running

sudo apt-get install php-xdebug

Then I have added such settings into /etc/php/7.1/mods-available/xdebug.ini ( I am using nginx, that is why my PHP is running using FPM)


xdebug.remote_enable = 1
xdebug.remote_port = 9008
xdebug.remote_autostart = 1
xdebug.remote_handler = dbgp
xdebug.idekey = XDEBUG_SESSION_START
xdebug.remote_connect_back = On
xdebug.remote_mode = req
xdebug.remote_log = "/home/vagrant/sites/xdebug.log"

2) I am using phpStorm, and I have set xdebug port as: 9008 (like in my xdebug.ini)


3) I have made all neccesary settings in my phpStorm


4) I have added the path to php (inside vagrant installation ) /usr/bin/php7.1


5) Then I have put the breakpoint on the first line of my php script


6) Then I press 'Debug' button in phpStorm ( look prev screenshot )

7) In my Chrome the page has been started to load


8) I see that server is waiting, and that is why Chrome does not show anything.
It looks like xdebug is working, BUT phpStorm does not stop on my breakpoint.

This is the problem which I can't solve yet.

9) If I press 'Stop' button in phpStorm and reload the page which I try to debug --
It loads quickly without any delays:


Pls, help me or give me some advice, how can I fix it?

Thank You.

19.09.2017, 19:52, "Derick Rethans" <derick[@]xdebug.org>:
> On Tue, 19 Sep 2017, castor_troy[@]tut.by wrote:
>>  Can You help me?
>>  I want to know if xDebug is available for PHP 7.1.9 ?
> It's certainly available.
>>  I have tried to use it under vagrant environment.
>>  I have Ubuntu 14.04.1 and PHP7.1.9 on it.
>>  Can you help me to Identify if the problem is with my PHP version?
> I can't help, as you have not mentioned what you have tried, what
> happened, and which errors you received.
> In general, just following this, should work:
> https://xdebug.org/wizard.php
> cheers,
> Derick
> --
> Like Xdebug? Consider a donation: https://xdebug.org/donate.php
> Xdebug | https://xdebug.org | xdebug-general@lists.xdebug.org
> twitter: @derickr and @xdebug
Received on Wed Sep 20 2017 - 08:30:54 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST