Hello. I pulled the latest docker/sdk. How to enab...
# docker
l
Hello. I pulled the latest docker/sdk. How to enable xdebug on YVES? I started containers with
docker/sdk start -x
but i don't see even xdebug extension in phpinfo.
c
Hi Alex! AFAIK
-x
option does not have any effect right now. You can use browser extension that sets
XDEBUG_SESSION
cookie.
l
but there is even no xdebug extension if i do
phpinfo()
in index.php on yves for example. session cookie will not have any effect
c
Did you try it?
l
yes i enabled xdebug extension in browser. but no result
c
Okay, unfortunately we don’t have updated documentation yet but maybe @high-pencil-62400 can help you here
h
Please, make a screenshot of request you expect to be debugged.
l
i don't have time for this. I aleady reinstalled everything with old version of docker/sdk. Now i see xdebug extension in
phpinfo()
But this is just a standard request to the homepage for example. Here is a screenshot of phpinfo() with old version With new version I don't have it
h
That just because you do not pass proper cookie.
l
But i enabled xdebug extension in browser for sure
c
Cookie XDEBUG_SESSION=PHPSTORM
a
I have the cookie set up in my browser but still xdebug does not start
h
1. Please, change host in config to spryker. 2. Also, please, check 9000 port locally. It can be occupied by other process.
a
thank you
the port was occupied by my local php-fpm
thanks