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

前端 未结 15 1625
挽巷
挽巷 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:11

    PHPStorm has a build-in tool in Run > Web Server Debug Validation.

    It helped me to solve my problem.

    0 讨论(0)
  • 2021-01-31 15:12

    I also obtain this error message.
    Also was troubles with the php.ini but more subtle.

    Try to find and delete a row like this

    extension=php_xdebug-...
    

    Consider to look at my answer here for details "Xdebug - command is not available".

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题