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

How to enable xdebug #1

Open
lmartins opened this issue Jul 9, 2015 · 3 comments
Open

How to enable xdebug #1

lmartins opened this issue Jul 9, 2015 · 3 comments

Comments

@lmartins
Copy link

lmartins commented Jul 9, 2015

Is there any way to enable xdebug on this container?
Thanks.

@gravityrail
Copy link
Owner

It should just be a matter of adding a few lines to the Dockerfile so that the .so file is loaded with PHP, and then enabling remote debugging and exposing the port. There's nothing in particular about this technique that prevents you from doing that. Let me know if you get it working!

@lmartins
Copy link
Author

Ok, im afraid this a bit foreign for me but ill see how is my google fu and report back here for others who might need this too.
Thanks Daniel, despiste this im really enjoying using Docker with your container.

@lmartins
Copy link
Author

Im having an even bigger problem than the lack of xdebug. Any php error causes the server to respond with a 404 page, leaving me no way do debug or know whats going on.

Any chance this can be solved?

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