首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >“等待传入连接”| PhpStorm和xdebug

“等待传入连接”| PhpStorm和xdebug
EN

Stack Overflow用户
提问于 2016-11-10 04:09:28
回答 1查看 1.8K关注 0票数 0

我在使用PhpStorm和xdebug时遇到了一些问题(就像其他一些人一样)。

我看过,并尝试过:

PhpStorm Xdebug : Waiting for incoming connection with ide key

PhpStorm, xdebug and vagrant still waiting for incoming connection

Xdebug PhpStorm: Waiting for incoming connection with ide key

当我启动调试器时,我转到一个以XDEBUG_SESSION_START=XXXXXX结尾的url。这和我在phpinfo()上的ID是一样的。

我的配置:

php.ini

[Xdebug]
zend_extension=/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so
xdebug.remote_enable=1
xdebug.remote_host=192.168.1.113
xdebug.remote_port=9001
xdebug.idkey=PHPSTORM
xdebug.remote_log =/Users/gustavelmgren/xdebug.log

xdebug.log

> Log opened at 2016-11-09 19:52:07 I: Connecting to configured
> address/port: 192.168.1.113:9001. I: Connected to client. :-)
> -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///Users/gustavelmgren/dbwebb-kurser/anax-flat/htdocs/index.php"
> language="PHP" protocol_version="1.0" appid="19557"
> idekey="13691"><engine
> version="2.2.5"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2014 by Derick Rethans]]></copyright></init>

PhpStorm设置

EN

回答 1

Stack Overflow用户

发布于 2018-05-28 18:11:49

主机的帮助下,我删除了这两行代码

":: 1" localhost (ipv6 (localhost)

phpstorm未看到本地主机ip v4)

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40515154

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档