Why would it not automatically be enabled?
i.e. What are the disadvantages to enabling debugging in the config file? There must be some, otherwise surely it would be enabled by default.
For context, see tags.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Security and performance reasons – it is easy to forget to do this on a live web server, which is not a good idea.
Running in debug mode is much slower than in release mode. It also exposes more information in the YSOD. It is better to be secure by default than the alternative…