For some reason I cannot get Xdebug to work in PhpStorm for a local (on my Mac) TYPO3 9.5 site. It's setup with Composer and the site resides on /Users/myusername/Sites/mysite
Xdebug is installed and on another local https://fun.test with a single test index.php file it works fine.
I have the ports correct, created a 'Run/Debug' configuration as PHP Web Page, start url https://mysite.test. On the server(mysite.test 443) of that config, I included (also tried not to) the path mappings. I also set the symlinks from the vendor bin map in the absolute paths. But whatever I try I keep getting
Debug session was finished without being paused It may be caused by path mappings misconfiguration or not synchronized local and remote projects.
I watched the videos, but they are examples of an older TYPO3 version and also without https and don't work for me.
Any hints how to get it working?
UPDATED with parts of error log
-> <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>
PHP | Serversconfig then. Maybe some stuff is missing. But I would suggest to delete any entry there and try zero-debug approach, where IDE will help with the creation of such entry for you. - LazyOne