How do i turn off xdebug




















I think that my server became slow since I installed XDebug. So, in order to test my hypothesis I want to disable XDebug completely. I've been searching for tutorials on how to do this but I can't find such information.

Note that there can be a performance loss even with xdebug disabled but loaded. To disable loading of the extension itself, you need to comment it in your php. Find an entry looking like this:. Check out this post XDebug, how to disable remote debugging for single. Comment extension in php. Here is a simple script you can assign shortcut to it. Notice, that you will need to tweak this depending on your php version. For instance running php 7.

Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project.

Join thousands of Treehouse students and alumni in the community today. Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations. Treehouse offers a seven day free trial for new students.

Get access to thousands of hours of content and a supportive community. Start your free trial today. I have updated the script to detect ini files from phpinfo output. At least, not without duplicating. This will prevent xdebug from loading for this very command. You can use multiple -d options. Hii kartik, You can wrap the disabled button You can't pass any configuration parameters to Example PHP Already have an account?

Sign in. How can I disable XDebug using php. I want to disable XDebug completely. I've been searching for tutorials on how to do this but I can't find such information.



0コメント

  • 1000 / 1000