your vid is more helpful than the help provided by those who have developed "XDebug" 🙂 liked ur vid. just a suggestion: change the headline of previous videos on installing debug before php 8 and xcode 3, as i wasted a lot of time trying with your old video on latest xampp and xcode. thanks anyway
Why didn't you launch a full fledged playlist for "How to debug using XDebug"? It is much needed and I'm sure everyone would deeply appreciate it. It is almost impossible to find a decent enough course for debugging as yet. Please do that or suggest some videos/channel which does offer the same. Thanks man!
Yes, I also thought about this. In browsers the javascript debugger is already built-in. You don't have to download any extension nor configure anything. Just add a breakpoint and it works. Why the same isn't possible in php? What could be done to simplify the process of setting up xdebug. The first thing that comes to mind is to include the xdebug extension in the default php instalation. So at least you don't have to download anything. This is already one step less. But I think it would be already done if the php team had resources and motivation to develop and maintain their own debugger extension. But I can understand them. I also don't want to develop and maintain debugger extension when there is one even if it is hard to set up. Potentially they could ask Derick(xdebug maintainer) to move xdebug to php repository and continue work there
thanks for the great content, quick question though... do we use zend_extension= xdebug or zend_extension= path to php_xdebug.dll, and why doesn't the setup instructions explain this?
How can I make it work with Yii2? I tried with breakpoints in all index files (including web/index) but no working, the app is hosted in XAMPP, with PORT 80
My "Launch currently open script" does not work when I used xdebug 3 and php 8.2.0, and it always displays "Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:0".
Zura, can you help, please? I`ve installed xdebug with your video, and my xdebug doesn`t work, when I reload the page nothing to happens, I don`t know why....I`m on Linux. Help me please, I`ll appriciate this!
Hey, Can someone help me with an issue ? I can debug php files in /public folder but when i want to debug (open script) my controllers (src/controller) i have an error: "HP Fatal error: Uncaught Error: Class "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" not found in C:\Desktop\workplace\test\src\Controller\TestController.php". My controller extends AbstractController and I have it in vendor/symfony/framework-bundle/controller... Any idea ?
The entry script is in public folder so you can't directly debug controller. Start debugger like It is shown in the video with the framework and create the breakpoint in controller.
don't forget to run `sudo apachectl restart` (if using Mac) after making any changes to php.ini file, else it any browser request will not be debugged.
Literally saved my assignment due today. I am on Linux and this tutorial is still enough info to fill in the gaps my book left.
Excellent video, PHP8.1, VSCode - exact my case. And many thanks for showing us xDebug wizard tool, my life will never be the same
The best tutorial for xDebug 3. Thank you!
I suffered about 3 hours, but you helped me! Thank you :)
Thank you so so much. I was working on this issue all day until I found your video. It helped so much. Thank you.
Happy to know that. Thank you.
by any ans, but I can make what I envision, and that's the greatest gift to . You are, without a doubt, an expert teacher. You may
Thanks a ton man
I was really expecting the custom configuration so that i can change the port and your video really helped me to achieve it .
Awesome video! It would be very helpful if you make a detailed video on PHP Debugging.
your vid is more helpful than the help provided by those who have developed "XDebug" 🙂
liked ur vid.
just a suggestion:
change the headline of previous videos on installing debug before php 8 and xcode 3, as i wasted a lot of time trying with your old video on latest xampp and xcode.
thanks anyway
Thank you
Excellent Video.
Really looking forward to the "How to set up VS Code for PHP development" video.
Thank you
Champ Zura is back with a wonderful video.
Thank you Ali. I really appreciate your kind words.
@@TheCodeholic You deserve more than that champ!
god bless you the xdebug step debug is working,
Great! Thank you for this great video. Finally it works!
Great to hear!
Please give a separate dedicated video on debugging in VS Code.
Where you talk about debugging in detail.
Excellent XDebug Tutorial
This is the only thing I hate about PHP, getting the debugger working on any new machine.
Why didn't you launch a full fledged playlist for "How to debug using XDebug"? It is much needed and I'm sure everyone would deeply appreciate it. It is almost impossible to find a decent enough course for debugging as yet. Please do that or suggest some videos/channel which does offer the same. Thanks man!
It is beyond absurd just how much it takes to set up a fucking PHP debugger! This should be a matter of two clicks!
Yes, I also thought about this. In browsers the javascript debugger is already built-in. You don't have to download any extension nor configure anything. Just add a breakpoint and it works. Why the same isn't possible in php?
What could be done to simplify the process of setting up xdebug. The first thing that comes to mind is to include the xdebug extension in the default php instalation. So at least you don't have to download anything. This is already one step less. But I think it would be already done if the php team had resources and motivation to develop and maintain their own debugger extension. But I can understand them. I also don't want to develop and maintain debugger extension when there is one even if it is hard to set up. Potentially they could ask Derick(xdebug maintainer) to move xdebug to php repository and continue work there
Perfect video. Thank you Zura
Saudações do Brasil amigo, excelente vídeo, me ajudou muito, obrigado !!!
obrigado pelo comentário positivo
Thank you for the tutorial, very well made
Thank you as well.
Same here. If you have time, it would be great to have a detailed video on PHP Debugging.
This Video saved me!!! Thanks a lot.
Merci ! Ca m'a beaucoup aidé.
thanks for the great content, quick question though... do we use zend_extension= xdebug or zend_extension= path to php_xdebug.dll, and why doesn't the setup instructions explain this?
I have the same question. Did you get a response?
Very good. I use both Windows and Linux.
How can I make it work with Yii2?
I tried with breakpoints in all index files (including web/index)
but no working, the app is hosted in XAMPP, with PORT 80
Amazing!!!
My "Launch currently open script" does not work when I used xdebug 3 and php 8.2.0, and it always displays "Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:0".
Great video thanks!
Thank youuuuu
Welcome
Thank you very much, help me a lot!!
Thank you for your comment
Thanks, i was wondering why i couldn't get breakpoints detected, turns out i just had to add the dll file for xdebug and those 3 lines to php.ini
Zura, can you help, please? I`ve installed xdebug with your video, and my xdebug doesn`t work, when I reload the page nothing to happens, I don`t know why....I`m on Linux. Help me please, I`ll appriciate this!
Thanks codeholic for video
Very welcome
Zura janai Katsura Da!
works gj
hello, i've follow everything in your video but i got this error. "cannon evaluate without connection" can you help please ?
Thanks!
Hey, Can someone help me with an issue ? I can debug php files in /public folder but when i want to debug (open script) my controllers (src/controller) i have an error: "HP Fatal error: Uncaught Error: Class "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" not found in C:\Desktop\workplace\test\src\Controller\TestController.php". My controller extends AbstractController and I have it in vendor/symfony/framework-bundle/controller... Any idea ?
The entry script is in public folder so you can't directly debug controller.
Start debugger like It is shown in the video with the framework and create the breakpoint in controller.
@@TheCodeholic Thank you :)
I thoroughly followed this tutorial but my test program did not stop at any breakpoint. Sad.
I Can't make it work. I'm using Linux MX, PHP 8.2.4 and Xdebug 3.2.0.
don't forget to run `sudo apachectl restart` (if using Mac) after making any changes to php.ini file, else it any browser request will not be debugged.
Which path should be in system PATH?
How can we set it up with laravel and its command php artisan serve?
docker
for me using wamp server this guide doesn't work
Sorry! Does not work on xampp with php8.2 for windows
how to debug tests?
thank you bro! Bro do you but video tutorial debug make App laravel, scrypt php buy codeany
it doesn't work with laravel.
Or, you can just set up an Adobe Dreamweaver PHP project. Much faster and easier.
You using xampp so you wrong
Awsome video, thanks.