Hi another question about docker setup I have su...
# docker
a
Hi another question about docker setup I have successfully got the project to install. I want to try to debug it now, but whenever I do a request I get this message, even though I am sure of the project path mapping, any suggestions?
p
Hi @acoustic-businessperson-27970, it seems that xdebug is not proper working on your machine currently -> your phpstorm can not fetch the data. can you post screenshots of your phpstorm settings reg. xdebug? Which environment are you using? How do you boot the environment up?
a
I am using docker to run the project ..
docker/sdk up -x
to start the env
when I open Yves container and execute:
php -v
it shows only:
Copy code
PHP 7.3.28 (cli) (built: Apr 29 2021 20:00:40) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.28, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.28, Copyright (c) 1999-2018, by Zend Technologies
    with blackfire v1.57.0~linux-musl-x64-non_zts73, <https://blackfire.io>, by Blackfire
It does not show xdebug which is wierd because it seems like xdebug session is getting started !
in my
docker.dev.yml
I have the debug section:
Copy code
debug:
        enabled: true
        xdebug:
            enabled: true
p
did you do docker/sdk bootstrap deploy.dev.yml first?
a
of course 🙂
p
does the phpini-output in the shop show that xdebug is enabled etc?
a
I cannot login to zed I am getting this error
¯\_(ツ)_/¯
p
this looks strange. what does
docker ps
output?
hmm.. looks fine. you can also do
phpinfo();
in public/Zed/index.php in the beginning and look there
maybe do a die() or exit() after phpinfo()
a
I will try
it is enabled
but I found somehting
is this correct?
I got it fixed by running a debugging session AND starting the listener From my previous experience starting the listener was enough … i am not sure if this xdebug 3 related thingy .. but most important now that it works 🙂
p
hmm.. for me just running the listener with setting a breakpoint is enough
but glad you are unblocked
a
thanks mate 🙂
btw .. do you have any idea how to set up an ssl certificate locally ?
to be able to call https instead of http