出于某种原因,我无法让 Xdebug 在 PhpStorm 中为本地(在我的 Mac 上)TYPO3 9.5 站点工作。它是用 Composer 设置的,站点位于 /Users/myusername/Sites/mysite
Xdebug 已安装并在另一个本地https://fun.test上使用单个测试 index.php 文件运行正常。
我的端口正确,创建了一个“运行/调试”配置作为 PHP 网页,启动 url https://mysite.test。在该配置的服务器(mysite.test 443)上,我包含(也尝试不包含)路径映射。我还在绝对路径中设置了供应商 bin 映射中的符号链接。但无论我尝试什么,我都会得到
调试会话在没有暂停的情况下完成 这可能是由于路径映射配置错误或本地和远程项目不同步造成的。
我观看了视频,但它们是旧 TYPO3 版本的示例,也没有 https,对我不起作用。
任何提示如何让它工作?
更新了部分错误日志
-> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///Users/myuser/Sites/mysite/var/cache/code/cache_core/ext_localconf_f91d966404f45802fa2d2f505b0b6efa59cfb322.php" lineno="884" type="Notice"><![CDATA[Undefined index: adminpanel_requestcache]]></xdebug:message></notify>
-> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///Users/myuser/Sites/mysite/public/typo3/sysext/core/Classes/MetaTag/AbstractMetaTagManager.php" lineno="299" type="Notice"><![CDATA[Undefined index: allowedSubProperties]]></xdebug:message></notify>
-> <notify xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" name="error"><xdebug:message filename="file:///Users/myuser/Sites/mysite/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php" lineno="3913" type="Notice"><![CDATA[Undefined index: makeInstanceService]]></xdebug:message></notify>