Thank you so much for this walk through. Just completed it on a VM in proxmox and it works a treat. The VS Code plugin is now PHP Debug from Xdebug, the rest is still the same.
It doesn't work for me After "sudo install apache2 php" I type "localhost" in the browser (Firefox / Chrome) and it tells me this: "Cannot connect An error occurred while connecting to localhost." I'm on Ubuntu 22.04 Any ideas to solve this The "php -v" command in the console shows me that Php is present in the system in its version 8.4.2 Thanks a lot Derick
Hi Derick, after performing a clean install of Ubuntu 22.04 LTS I was able to install Xdebug correctly and debug code with VSC. Thank you very much for your generosity. Hugs from Argentina
So I have been trying to get XDebug work for 6 hours... And the only way I did it work was with this 10-minutes video. Thank you!
Thank you for the video. Awesome to see such walkthroughs from the XDebug creator himself :)
Super useful! Thank you!
I'm working on big PHP OOP project right now. Debugging like this is so handy. A lot better than var_dump() everywhere.
I try every thing but still (step debugger x disabled) please help me to fix this problem
Thank you so much for this walk through. Just completed it on a VM in proxmox and it works a treat. The VS Code plugin is now PHP Debug from Xdebug, the rest is still the same.
Yeah, we moved it into the Xdebug organisation since then. I'll see if I can easily update it, or add a text or so.
Thanks! Also your voice is the same as John Wilson
thank you for making this video, finally i can do the stepper debugging
hope it helps the other as well : )
The PHP Debug extension doesn't seem to be listed [anymore]. The only extension by Felix Becker that is listed is CSS Stacking Contexts.
It's been renamed to the Xdebug namespace: marketplace.visualstudio.com/items?itemName=xdebug.php-debug
On systems with php-fpm, you have you restart the php-fpm service to apply changes to xdebug configuration.
It doesn't work for me
After "sudo install apache2 php" I type "localhost" in the browser (Firefox / Chrome) and it tells me this: "Cannot connect An error occurred while connecting to localhost."
I'm on Ubuntu 22.04
Any ideas to solve this
The "php -v" command in the console shows me that Php is present in the system in its version 8.4.2
Thanks a lot Derick
Hi Derick, after performing a clean install of Ubuntu 22.04 LTS I was able to install Xdebug correctly and debug code with VSC.
Thank you very much for your generosity. Hugs from Argentina
thank you for sharing your knowledge with us
Thanks for making this awesome software :)
Very nice video and project, TNX
thx for your service!
Very usefull, thanks!
Thanx so much bro!
Excellent!!
Thank you
Thank You Derick
Just one video and I am half way setup do debug drupal9 with VS code on ubuntu.
Thank you very much.
Does not help me debugging remotely
Awesome!
Thanks.
Nice :)
Thanks
I didn't know that I had to change the file:
/etc/php/8.1/apache2/conf.d/20-xdebug.ini