Even after struggling a lot in setting up the debugger I failed. But after watcing this video it worked. Thanks man!. For me, it worked after modifying php.ini file. After modifying, my php.ini file looks like this: [xdebug] xdebug.mode = debug xdebug.start_with_request=yes xdebug.discover_client_host = 1
Maaaaan!!!! Thanks a looooot!!! I almost wasted all my day tring to make this before until... find your video!🤩 You are souls-saver of the desperate developers 🤣 Get this like and +1 sub 😎👍
I've got everything set up, but it doesn't seem to be able to talk from the container to VSCode... I never see things come through in VSCode, although I can see in the xdebug info "[Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: 192.168.1.220:9003 (through xdebug.client_host/xdebug.client_port)." Any suggestions would be quite welcome.
I followed the instructions, the only difference is that I am actually on Linux, but whenever I try to run xdebug I just get an error that says 9003 is already in use? Any advice?
For many people, &{workspaceFolder} does not work and they have to enter the complete path (like path/to/your/project). It is a known bug, the fix works only for some. This is true both for Windows and Linux.
Damn! I've spent hours trying to make xdebug work, but i couldn't. With these configs, xdebug started working: xdebug.mode = debug xdebug.start_with_request=yes xdebug.discover_client_host = 1
This is very timely since Im exploring XDebug
Thank you! xdebug.client_host=host.docker.internal - it solved my problem with debugging unit test on Ubuntu through Docker
I'm allmost crying by happy. Thank you
Even after struggling a lot in setting up the debugger I failed. But after watcing this video it worked. Thanks man!. For me, it worked after modifying php.ini file. After modifying, my php.ini file looks like this:
[xdebug]
xdebug.mode = debug
xdebug.start_with_request=yes
xdebug.discover_client_host = 1
Great to hear!
I couldn't configure PHP debug, but you solved my problem; thanks a million!
Maaaaan!!!! Thanks a looooot!!! I almost wasted all my day tring to make this before until... find your video!🤩
You are souls-saver of the desperate developers 🤣
Get this like and +1 sub 😎👍
worked perfectly. Hatur nuhun gan!
Thank you! Very well done video, worked perfectly.
Excelent tutorial, thanks your sharing your knowledge
Really nice explained! Simple to follow and install xdebug
thanks a lot u save my life
thanks for the video. just a advice, if you're doing things, let us know the sources of where you found out about the things and the thought process.
you saved my life. Thanks bro!
thank you nice guide
Thanks man!!!
Welcome
I've got everything set up, but it doesn't seem to be able to talk from the container to VSCode... I never see things come through in VSCode, although I can see in the xdebug info "[Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: 192.168.1.220:9003 (through xdebug.client_host/xdebug.client_port)." Any suggestions would be quite welcome.
Hi ,"/var/www" is that your wsl local copy path or your project in the docker container path. Thanks
I followed the instructions, the only difference is that I am actually on Linux, but whenever I try to run xdebug I just get an error that says 9003 is already in use? Any advice?
Thank you alot
For many people, &{workspaceFolder} does not work and they have to enter the complete path (like path/to/your/project). It is a known bug, the fix works only for some. This is true both for Windows and Linux.
True: if using something like wordpress. you'd need set it to /var/www/html/wp-content/themes/[yourthemename]
Great content
Will this work for servers too when I make requests through the browser or through postman?
I am using php5.6 for a legacy code, needs xdebug but I see xdebug.start_with_request is not compatible with that php version. What can I use instead?
I think I have a video for old xdebug version as well.
You can check it in my videos
Good video. But didn't help XD
God damn, this is so stupid. windows and vs code. Xdebug on linux & phpstorm is much simpler, I really hate that I am stuck on windows on this machine
it helps me a lot.thanks
Damn!
I've spent hours trying to make xdebug work, but i couldn't. With these configs, xdebug started working:
xdebug.mode = debug
xdebug.start_with_request=yes
xdebug.discover_client_host = 1