I'm trying to diagnose why PhpStorm seems to lose its connection after a while to XDebug 3 running in a Docker container on Windows, so I have xdebug.log=/path/to/xdebug.log
in a .ini
file and I'm looking at that log file.
XDebug successfully does step debugging for both browser requests and CLI scripts, but it only writes to the log when CLI scripts are being executed. The log remains unchanged throughout step debugging if a browser request is being processed.
Why would CLI vs. browser make a difference to XDebug's logging? How can I enable it for browser requests?