xdebug Debug session was finished without being paused

来源:互联网 发布:宁波 知乎 编辑:程序博客网 时间:2024/06/10 00:33

报错信息

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,当然反过来也行。只要保证域名是相同的即可。

原创粉丝点击