Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider altering xhprof_prepend.php at ddev xhgui time (and or ddev xhprof time) instead of start time #49

Open
rfay opened this issue Jan 3, 2025 · 2 comments

Comments

@rfay
Copy link
Member

rfay commented Jan 3, 2025

The current approach to altering xhprof_prepend.php is fine (in post-start hook), but I think it would be closer to the source if done by an overridden ddev xhprof or by ddev xhgui itself. Cleaning up would still have to be at stop with current architecture though, so that's an argument for keeping it the way it is.

@tyler36
Copy link
Collaborator

tyler36 commented Jan 6, 2025

Is this still applicable since #48 was merged?

@rfay
Copy link
Member Author

rfay commented Jan 6, 2025

I think it might be, still thinking about it. Also, I think we should still think about a non-bind-mount strategy that simplifies programmatic replacement of this.

If xhgui goes directly into DDEV core, it would make sense to just have DDEV manage it and not worry about the direct config. However, that wouldn't be backward compatible, and there are plenty of people happy using xhprof as it currently is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants