What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello everyone, One question regarding XDebug in Docker. To make it work, docker sdk has to be laun

USZB5JN4W
USZB5JN4W Posts: 112 πŸ§‘πŸ»β€πŸš€ - Cadet

Hello everyone,
One question regarding XDebug in Docker. To make it work, docker sdk has to be launched with -x flag, but then xdebug is enabled all the time. In vagrant it was configured with special cookie. Will you, @UJRNJNGNN, provide docker sdk with xdebug enabled/disabled by cookie?

Comments

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    you can do that by setting xdebug.remote_autostart to false in php.ini

  • USZB5JN4W
    USZB5JN4W Posts: 112 πŸ§‘πŸ»β€πŸš€ - Cadet

    can it be changed for example in deploy.dev.yml?

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    not as far as I know

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    but if you change it in context/php/conf.d/xdebug.ini and do boostrap again it should work

  • USZB5JN4W
    USZB5JN4W Posts: 112 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes, it works this way. Thank you