Home > Development Tools > phpstorm > What should I do if accessing local projects becomes very slow after installing Xdebug?

What should I do if accessing local projects becomes very slow after installing Xdebug?

藏色散人
Release: 2021-10-19 16:40:53
forward
1518 people have browsed it

The following tutorial column of phpstorm will introduce to you how to solve the problem of extremely slow access to local projects after installing Xdebug. I hope it will be helpful to friends in need!

Configuration

[Xdebug]
zend_extension = "E:\SoftWare\php\php-73\ext\php_xdebug-2.7.2-7.3-vc15-nts-x86_64.dll"
xdebug.remote_enable = 1
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9009
xdebug.remote_autostart = 1
xdebug.remote_handler = "dbgp"
xdebug.idekey = PHPSTORM
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 1
xdebug.default_enable = "Off"
xdebug.remote_mode = req
Copy after login

Instructions

  • Set xdebug.remote_enable = 0 or xdebug.remote_autostart = 0. If you turn off either of these two items, there will be no slowdown, but after turning it off You can debug if you cannot listen to breakpoints;

  • xdebug.remote_host is changed to 127.0.0.1 instead of localhost, the same is true for the settings in phpstorm;

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

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

The above is the detailed content of What should I do if accessing local projects becomes very slow after installing Xdebug?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template