Setup debugging for PHP8.1 with XDebug 3 in VSCode

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

ความคิดเห็น • 71

  • @alexm7
    @alexm7 10 หลายเดือนก่อน

    Excellent video, PHP8.1, VSCode - exact my case. And many thanks for showing us xDebug wizard tool, my life will never be the same

  • @jonasdhein
    @jonasdhein ปีที่แล้ว +2

    The best tutorial for xDebug 3. Thank you!

  • @TheOtherDylanArts
    @TheOtherDylanArts ปีที่แล้ว

    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.

  • @rakinar2
    @rakinar2 2 ปีที่แล้ว +8

    Awesome video! It would be very helpful if you make a detailed video on PHP Debugging.

  • @KevinCBurke
    @KevinCBurke 2 ปีที่แล้ว +1

    Thank you so so much. I was working on this issue all day until I found your video. It helped so much. Thank you.

    • @TheCodeholic
      @TheCodeholic  2 ปีที่แล้ว

      Happy to know that. Thank you.

  • @trueprogr
    @trueprogr ปีที่แล้ว

    I suffered about 3 hours, but you helped me! Thank you :)

  • @TrivediKavit
    @TrivediKavit 2 ปีที่แล้ว +2

    Excellent Video.
    Really looking forward to the "How to set up VS Code for PHP development" video.

  • @sandeepkosta5750
    @sandeepkosta5750 ปีที่แล้ว +1

    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 .

  • @AliHassan-wc6nb
    @AliHassan-wc6nb 2 ปีที่แล้ว

    Champ Zura is back with a wonderful video.

    • @TheCodeholic
      @TheCodeholic  2 ปีที่แล้ว

      Thank you Ali. I really appreciate your kind words.

    • @AliHassan-wc6nb
      @AliHassan-wc6nb 2 ปีที่แล้ว

      @@TheCodeholic You deserve more than that champ!

  • @sifr-in
    @sifr-in 2 ปีที่แล้ว +1

    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

  • @rcgaming3927
    @rcgaming3927 2 ปีที่แล้ว

    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

  • @petruciucur
    @petruciucur 5 หลายเดือนก่อน

    Excellent XDebug Tutorial

  • @Michaela1000000
    @Michaela1000000 ปีที่แล้ว +1

    Great! Thank you for this great video. Finally it works!

  • @happydong8086
    @happydong8086 8 หลายเดือนก่อน +1

    god bless you the xdebug step debug is working,

  • @serajoddin-aliabadi
    @serajoddin-aliabadi ปีที่แล้ว +1

    This Video saved me!!! Thanks a lot.

  • @ttjordan81
    @ttjordan81 11 หลายเดือนก่อน +2

    This is the only thing I hate about PHP, getting the debugger working on any new machine.

  • @shariqueatgraphicsoft2977
    @shariqueatgraphicsoft2977 17 วันที่ผ่านมา

    Thank You. You are a lifesaver.

  • @rts-design
    @rts-design 6 หลายเดือนก่อน

    Same here. If you have time, it would be great to have a detailed video on PHP Debugging.

  • @אלעדר
    @אלעדר ปีที่แล้ว +1

    Great video thanks!

  • @muradbabayev6389
    @muradbabayev6389 2 ปีที่แล้ว

    Perfect video. Thank you Zura

  • @sonoftroy8572
    @sonoftroy8572 ปีที่แล้ว +1

    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?

    • @alexl.349
      @alexl.349 ปีที่แล้ว

      I have the same question. Did you get a response?

  • @ricardoferreira3252
    @ricardoferreira3252 2 ปีที่แล้ว +1

    Saudações do Brasil amigo, excelente vídeo, me ajudou muito, obrigado !!!

    • @TheCodeholic
      @TheCodeholic  2 ปีที่แล้ว +1

      obrigado pelo comentário positivo

  • @vmillozz
    @vmillozz ปีที่แล้ว +1

    Amazing!!!

  • @code9954
    @code9954 ปีที่แล้ว +1

    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!

  • @cbbcbb6803
    @cbbcbb6803 ปีที่แล้ว

    Very good. I use both Windows and Linux.

  • @NGC4261
    @NGC4261 2 ปีที่แล้ว

    Thank you for the tutorial, very well made

  • @lanfyp
    @lanfyp ปีที่แล้ว

    Merci ! Ca m'a beaucoup aidé.

  • @danielsobral465
    @danielsobral465 2 ปีที่แล้ว +1

    Thank you very much, help me a lot!!

    • @TheCodeholic
      @TheCodeholic  2 ปีที่แล้ว +1

      Thank you for your comment

  • @nhatnam4627
    @nhatnam4627 2 ปีที่แล้ว

    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".

  • @vic_epsy
    @vic_epsy 2 ปีที่แล้ว

    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

  • @danu6067
    @danu6067 8 หลายเดือนก่อน +3

    It is beyond absurd just how much it takes to set up a fucking PHP debugger! This should be a matter of two clicks!

    • @layerok315
      @layerok315 3 หลายเดือนก่อน

      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

  • @DevAmirull
    @DevAmirull ปีที่แล้ว

    Please give a separate dedicated video on debugging in VS Code.
    Where you talk about debugging in detail.

  • @NewStreamLine
    @NewStreamLine ปีที่แล้ว

    Which path should be in system PATH?

  • @stichharma8531
    @stichharma8531 ปีที่แล้ว

    hello, i've follow everything in your video but i got this error. "cannon evaluate without connection" can you help please ?

  • @Khoohay
    @Khoohay ปีที่แล้ว

    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

  • @ihorrud5088
    @ihorrud5088 ปีที่แล้ว

    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!

  • @entatainermyself
    @entatainermyself 2 ปีที่แล้ว +1

    Thanks codeholic for video

  • @meemaw8949
    @meemaw8949 11 หลายเดือนก่อน

    Zura janai Katsura Da!

  • @abdulmenankedir6445
    @abdulmenankedir6445 ปีที่แล้ว

    How can we set it up with laravel and its command php artisan serve?

  • @alexl.349
    @alexl.349 ปีที่แล้ว

    I thoroughly followed this tutorial but my test program did not stop at any breakpoint. Sad.

  • @ghury1
    @ghury1 7 หลายเดือนก่อน

    for me using wamp server this guide doesn't work

  • @Nastwig
    @Nastwig 2 ปีที่แล้ว

    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 ?

    • @TheCodeholic
      @TheCodeholic  2 ปีที่แล้ว

      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.

    • @Nastwig
      @Nastwig 2 ปีที่แล้ว

      @@TheCodeholic Thank you :)

  • @borjovsky3164
    @borjovsky3164 ปีที่แล้ว

    I Can't make it work. I'm using Linux MX, PHP 8.2.4 and Xdebug 3.2.0.

  • @fastdraqe
    @fastdraqe 9 หลายเดือนก่อน

    Sorry! Does not work on xampp with php8.2 for windows

  • @Feronom
    @Feronom 3 หลายเดือนก่อน

    how to debug tests?

  • @tecs77
    @tecs77 ปีที่แล้ว

    Thanks!

  • @jamestangeres4875
    @jamestangeres4875 2 ปีที่แล้ว +1

    Thank youuuuu

  • @jontranveloc
    @jontranveloc 2 หลายเดือนก่อน

    thank you bro! Bro do you but video tutorial debug make App laravel, scrypt php buy codeany

  • @free2idol1
    @free2idol1 ปีที่แล้ว

    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.

  • @bhairavmetal
    @bhairavmetal 2 ปีที่แล้ว

    works gj

  • @Comcha-tj3of
    @Comcha-tj3of 11 หลายเดือนก่อน

    it doesn't work with laravel.

  • @YepTriedToTellYou
    @YepTriedToTellYou 10 หลายเดือนก่อน

    Or, you can just set up an Adobe Dreamweaver PHP project. Much faster and easier.

  • @starexrex
    @starexrex 11 หลายเดือนก่อน

    You using xampp so you wrong

  • @ThiagoMachado-v8f
    @ThiagoMachado-v8f 5 หลายเดือนก่อน

    Awsome video, thanks.

  • @bboydarknesz
    @bboydarknesz 5 วันที่ผ่านมา

    So, there is no solution to fix that TO connecting debugging client except keep listening turn on?
    I thought it was just for step debugger, needed but did not understand why the migrations have something todo with the connecting