Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does php solve the problem of slow access to local projects after installing Xdebug

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how php solves the problem of slow access to local projects after installing Xdebug. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Solve the problem that it is very slow to access a local project after installing Xdebug. [Xdebug] zend_extension = "E:\ SoftWare\ php\ php-73\ ext\ php_xdebug-2.7.2-7.3-vc15-nts-x86_64.dll" xdebug.remote_enable = 1xdebug.remote_host = "127.0.0.1" xdebug.remote_port = 9009xdebug.remote_autostart = 1xdebug.remote_handler = "dbgp" xdebug.idekey = PHPSTORMxdebug.profiler_enable = 0xdebug.profilerpowered _ Trigger = 1xdebug.default_enable = "Off" xdebug.remote_mode = req description

If you set xdebug.remote_enable = 0 or xdebug.remote_autostart = 0 and turn off either of these two items, it will not be very slow, but after you turn it off, you will not be able to listen for breakpoints and debug.

Xdebug.remote_host is changed to 127.0.0.1, not the same as the setting in localhost,phpstorm

As long as xdebug.remote_port is an available port and is the same as the configuration in phpstorm

For the rest of the configuration, just follow the configuration.

Thank you for reading! This is the end of this article on "how php solves the problem of slow access to local projects after installing Xdebug". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report