How can I debug step by step a PHP script or application when using Visual Studio Code and Docker? Source: Docker..
I have docker installed on my Linux host and raised a container with php-fpm and xdebug. Phpstorm is installed on Windows server. The project is hoisted through gitlab. Can you please tell me how to set up debugging via xdebug in such a bundle? Docker ver. Client: Docker Engine – Community Version: 19.03.13 API version: ..
After a few days of war with my Docker, Xdebug and PhpStorm I got this problem. My debug configuration: After I use curl 127.0.0.1:6080 (because this is my port from docker-compose) there is nothing happens in debug section. I would be thankful for any advices. # nginx nginx-service: image: nginx:stable-alpine container_name: nginx-container ports: – "6080:80" ..
I had a lot of trouble trying to install XDebug in the Laravel Sail docker container. Once I did, I had trouble customizing the service name (from laravel.test). I also noticed that I was receiving warnings about updates available for NPM and Node.js Source: Docker..
Xdebug not triggers on requests what performed inside docker containers but if making request from chrome/postman Xdebug triggers. ini settings xdebug.profiler_enable=1 xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=172.17.0.1 xdebug.remote_port=9000 xdebug.remote_autostart=1 xdebug.remote_connect_back=1 xdebug.idekey=PHPSTORM Source: Docker..
I try to install php-xdebug in docker, but I got this error #5 7.875 ERROR: unsatisfiable constraints: #5 7.875 php5-xdebug-2.5.5-r0: #5 7.875 masked in: cache #5 7.875 satisfies: #5 7.875 world[php5-xdebug><Q1Qep6HHzf56Q7ucrPzV1CAFSr+G8=] #5 7.875 so:libc.musl-x86_64.so.1 (missing): #5 7.875 required by: #5 7.875 php5-xdebug-2.5.5-r0[so:libc.musl-x86_64.so.1] I used alpine:3.7. How can I solve this problem? Beginning of Docker file: ..
I have created my own docker-compose and DockerFiles for a Laravel app. Everything is working as expected, but I can’t get Xdebug to work. I’ve run through a few tutorials on Xdebug with Windows, but no luck. I’m recently returning to Windows after running Mac for many years. My Setup: Windows 10 Pro VSCode List ..
I am trying to install xdebug on an older stack i am creating. when running docker-compose up -d it seems to run everything perfect, and there are no errors. but when i load phpinfo it is missing xdebug and if i have a look into the container, the pecl command fails to create the xdebug.so ..
I need a little help understanding why my many to many relationship is not functioning. I have spent the last 1/2 day going down many rabbit holes, from trying to change the php.ini file so i would not get an xdebug error (you will see below), trying to install vim on the docker container so ..
I see There was a problem sending 179 bytes on socket 11: Broken pipe. in the Xdebug.log and cannot see why. Have gone around in circles for days trying all sorts of stuff. What am I doing wrong? xdebug 3.03, phpstorm 2020.3.3, Mac OS X latest, Safari browser  Log opened at 2021-03-24 02:49:43.184877  ..