xdebug Debug session was finished without being paused

版权声明:转载的时候提到我就行…… https://blog.csdn.net/SakuraLLj/article/details/78098656

报错信息

Debug session was finished without being paused
It may be caused by path mappings misconfiguration or not synchronized local and remote projects.
To figure out the problem check path mappings configuration for ‘localhost’ server at PHP|Servers or enable Break at first line in PHP scripts option (from Run menu).
Do not show again

原因

浏览器请求的链接是:http://localhost:8888/index.php
而PHPStorm中的debug servers配置的是127.0.0.1:8888

解决

把127.0.0.1:8888改为localhost:8888,当然反过来也行。只要保证域名是相同的即可。

猜你喜欢

转载自blog.csdn.net/SakuraLLj/article/details/78098656