Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to set up Xdebug with Bagisto on Docker?

    Installing Bagisto
    2
    2
    816
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      KiwiNFLFan last edited by

      Hi, I followed the official guide for setting up Bagisto on Docker, and have a running installation on my Mac (Big Sur).

      However, I need to use Xdebug with Bagisto. I tried installing it using pecl, but there is no Xdebug file in the conf.d directory in both the apache2 and cli directories in /etc/php/7.3. The xdebug.so file is present in /usr/lib/php/20180731, but Xdebug still doesn't work.

      What is the best way to get Xdebug running on the Bagisto Docker installation?

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by devansh-webkul

        In docker, its all depends on how you are installing all the dependencies.

        I can just share you a reference, this is not 100 percent same but for checking dependencies you can update your docker file,
        https://www.naept.com/blog/easily-debug-your-laravel-sail-applications-with-xdebug/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post