3.0跟2.0的配置不一樣,不一樣,不一樣!!!
官網3.0配置文檔:https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_autostart
[Xdebug] zend_extension = D:\phpstudy\Extensions\php\php7.3.4nts\ext\php_xdebug.dll xdebug.client_port= 9001 xdebug.mode = debug xdebug.client_host = localhost xdebug.start_with_request=yes //自動啟用調試器
