Open mikeymike opened 4 years ago
@mikeymike do you mean errors in the PHP builds, because the builds here look good
Nah my local builds... I need to sort out my Rust installation again
@mikeymike so this is ready to go? not sure if anythings else is needed etc
I think it's ready, images have been released a while back now 😄
@mikeymike have you considered how this interacts with ‘wf2 xdebug enable’ etc? Or perhaps it has no effect?
That's a good point, I didn't really look at the implementation details around that now you mention it.
This updates the NGINX though so maybe it does?
So I just had a look at the implementation of xdebug enable/disable
and I they're compatible.
This PR introduces a map
to choose debug or non debug upstreams.
The current xdebug enable command keeps the same upstream keys but changes where they go so they're both pointed to php-debug
.
So in the event of running xdebug enable
regardless of where the map decides the upstream is we'll still always end up in the debug container anyway which is the intended result.
tldr looks good to me
Adds support for profiling.
Unable to test compile due to a bunch of I think unrelated errors.
Also this relies on new PHP image builds