xdebug inserts error markup which breaks plugins like WP Sync DB:
var wpsdb_max_request = '1048576';
var wpsdb_bottleneck = '<br />
<font size='1'><table class='xdebug-error xe-notice'
Is it possible to disable it? I’m happy to file a bug with plugin developers, but it’s blocking me right now.
xdebug_remote_enable: false somewhere like
Agreeing with @swalkinshaw, the best place to disable xdebug in
group_vars would be to edit the existing
- xdebug_remote_enable: 1
+ xdebug_remote_enable: 0
vagrant provision to apply the change.
There’s literally a
xdebug_remote_enable field in
I’m literally the worst. I’m sorry… Thank you for your help.
Slightly better question that will help me in multiple situations: after tweaking things like this, what’s the best way to enable them?
vagrant up --provision seems like it might be destructive/overkill, but I’m not sure.
It’s not destructive. Overkill? It re-runs everything so it might take a minute. You can restrict it with
ANSIBLE_TAGS=php vagrant provision.
Ah okay, I didn’t realize it wasn’t destructive. Thanks.
I have same issue
I have modified php.yml
but I still could see it in browser (development)? What else I need to do?