1

Is it possible to set Xdebug on Symfony built-in server as is used in Apache? I haven`t found any tutorial on the web and I don't know if it's possible, or I have to use Apache to develop in order to use Xdebug.

1 Answer 1

3

Yes, this is possible. Xdebug does not care whether you run the built-in Symfony server (which is really the built-in PHP web server), or Apache. As long as PHP runs somewhere, Xdebug can work.

Sign up to request clarification or add additional context in comments.

1 Comment

Just as a clarification, the latest "Symfony built-in web server" is no longer a wrapper for php -S, but a go executable that connects to an independent PHP process. (The answer is still correct, of course, it's just a matter of the OP finding which PHP runtime they are using and configure Xdebug accordingly).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.