Closed fortis closed 8 years ago
I usually use chrome extension to enable xdebug session
As for me, remote_autostart=0
is kind of old-fashioned way. If remote_autostart=1
, all you need to do to debug just put a breakpoint. It's simpler than with a browser extension, isn't it?
but it causes significant performance degradation and increases time to serve every request.
you can see it on a fresh drupal installation, and there more disadvantages than advantages
As a compromise solution, I suggest you to disable xdebug autostart via the env var XDEBUG_CONFIG: "xdebug.remote_autostart=0"
in the php container. You can specify many options divided by space.
seems that XDEBUG_CONFIG variable missing https://github.com/Wodby/drupal-php/blob/master/7.0/docker-entrypoint.sh
Env var XDEBUG_CONFIG already supported by xdebug. You can see some examples here.
@fortis you can use the PHP_XDEBUG_AUTOSTART: 0
env var to disable xdebug autostart.
I'm going to close the PR due to no activity.
Do we really need to keep it started always?