Setup debugging for PHP8.1 with XDebug 3 in VSCode

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 69

  • @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.

  • @alexm7
    @alexm7 9 месяцев назад

    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 10 месяцев назад +2

    The best tutorial for xDebug 3. Thank you!

  • @trueprogr
    @trueprogr Год назад

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

  • @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.

  • @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

  • @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 .

  • @rakinar2
    @rakinar2 2 года назад +8

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

  • @masoomsanadi
    @masoomsanadi Год назад +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

  • @TrivediKavit
    @TrivediKavit 2 года назад +2

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

  • @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!

  • @happydong8086
    @happydong8086 6 месяцев назад +1

    god bless you the xdebug step debug is working,

  • @Michaela1000000
    @Michaela1000000 Год назад +1

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

  • @DevAmirull
    @DevAmirull Год назад

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

  • @petruciucur
    @petruciucur 3 месяца назад

    Excellent XDebug Tutorial

  • @ttjordan81
    @ttjordan81 10 месяцев назад +2

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

  • @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!

  • @danu6067
    @danu6067 6 месяцев назад +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 Месяц назад

      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

  • @muradbabayev6389
    @muradbabayev6389 2 года назад

    Perfect video. Thank you Zura

  • @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

  • @NGC4261
    @NGC4261 2 года назад

    Thank you for the tutorial, very well made

  • @rts-design
    @rts-design 4 месяца назад

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

  • @serajoddin-aliabadi
    @serajoddin-aliabadi Год назад +1

    This Video saved me!!! Thanks a lot.

  • @lanfyp
    @lanfyp Год назад

    Merci ! Ca m'a beaucoup aidé.

  • @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?

  • @cbbcbb6803
    @cbbcbb6803 Год назад

    Very good. I use both Windows and Linux.

  • @vic_epsy
    @vic_epsy Год назад

    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

  • @vmillozz
    @vmillozz Год назад +1

    Amazing!!!

  • @nhatnam4627
    @nhatnam4627 Год назад

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

  • @אלעדר
    @אלעדר Год назад +1

    Great video thanks!

  • @jamestangeres4875
    @jamestangeres4875 2 года назад +1

    Thank youuuuu

  • @danielsobral465
    @danielsobral465 2 года назад +1

    Thank you very much, help me a lot!!

  • @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 9 месяцев назад

    Zura janai Katsura Da!

  • @bhairavmetal
    @bhairavmetal 2 года назад

    works gj

  • @stichharma8531
    @stichharma8531 Год назад

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

  • @tecs77
    @tecs77 Год назад

    Thanks!

  • @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 :)

  • @alexl.349
    @alexl.349 Год назад

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

  • @borjovsky3164
    @borjovsky3164 Год назад

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

  • @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.

  • @NewStreamLine
    @NewStreamLine Год назад

    Which path should be in system PATH?

  • @abdulmenankedir6445
    @abdulmenankedir6445 Год назад

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

  • @ghury1
    @ghury1 5 месяцев назад

    for me using wamp server this guide doesn't work

  • @fastdraqe
    @fastdraqe 7 месяцев назад

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

  • @Feronom
    @Feronom Месяц назад

    how to debug tests?

  • @jontranveloc
    @jontranveloc 17 дней назад

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

  • @Comcha-tj3of
    @Comcha-tj3of 10 месяцев назад

    it doesn't work with laravel.

  • @YepTriedToTellYou
    @YepTriedToTellYou 8 месяцев назад

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

  • @starexrex
    @starexrex 9 месяцев назад

    You using xampp so you wrong

  • @ThiagoMachado-v8f
    @ThiagoMachado-v8f 3 месяца назад

    Awsome video, thanks.