Many Xdebug issues

I have PHPStorm (latest) running Xdebug 3. I am using Valet as a local dev environment, so working directly on local files. 

I have had Xdebug running intermittently for some time on my new machine. Without ever changing any settings, it sometimes works and sometimes doesn't, but often that not, it was OK.

All of a sudden it is 'never working' and I am constantly getting 'Debug session was finished without being paused'

There is some odd things going on. 

- If I set 'stop at first line' the code breaks at a unexpected point in one of the vendor libraries (I am developing on Magento)
- If I leave 'stop at first line' enabled, and change the listening port from 9001 to any other - it still stops at that breakpoint

I have disabled path mapping as I assume I do not need them bearing in mind I am working locally and do not have any symlinks. 

Any ideas?

0

Are you working with files located directly in a web server root? I.e. you're not uploading them anywhere, even locally? Then yes, you don't need path mappings.

Next thing: XDebug configuration. Could you please run phpinfo(); webpage & share it's output? We're interested in a XDebug section that lists all xdebug.* config lines.

0

请先登录再写评论。