PhpStorm debugger not stopping at BreakPoints; keeps waiting for xdebug _SESSION_

前端 未结 15 1774
挽巷
挽巷 2021-01-31 14:21

Updated question : PhpStorm | WebMatrix (IISExpress) | Xdebug.remote_port | — Which Port(s) to put where?


I\'m running localhost web server on my Windows machine w

15条回答
  •  感情败类
    2021-01-31 15:18

    Try changing the xdebug listen port in your php.ini and your IDE.

    Running Mac Yosemite, for me the problem was that I installed with homebrew, following a guide that used php-fpm, which uses port 9000 by default (which conflicts with the xdebug default port)... Changing my xdebug.remote_port to 9001 and changing the xdebug port in phpstorm fixed the problem, though I suspect this issue could happen for anyone in any IDE. I googled for the better part of a day and didn't see this solution (since I believe it's so specific to install method).. but I hope it helps someone.

提交回复
热议问题