簡體   English   中英

PhpStorm Xdebug:等待與 ide 鍵的傳入連接

[英]PhpStorm Xdebug : Waiting for incoming connection with ide key

我正在運行 PHP 7.0 和 PhpStorm 2016.1

我安裝了 x-debug,這是我的配置:

在此處輸入圖片說明

運行 Debug form PhpStorm 時,Debugger 選項卡顯示以下錯誤消息:

等待與 ide 鍵 '13136' 的傳入連接

ide 鍵每次都不同。 請幫忙。

您的問題不完整,因為它缺少您當前用於 xdebug 的 php 設置,但您似乎沒有配置idekey (因此,您看到 IDE Key 被報告為“無值”)。 只需添加:

xdebug.idekey = ....

到您的配置。 這是我的設置中的工作配置:

xdebug.remote_handler="dbgp"
xdebug.remote_port=9000
xdebug.remote_autostart = on
xdebug.remote_start = on
xdebug.remote_enable = on
xdebug.remote_connect_back = on
xdebug.idekey = "xdebug"

用於idekey值可以是您想要的任何字符串,但必須與您在 PHPStorm 中設置的相同(請參閱Settings / Languages / PHP / Debug / DBGp Proxy / IDE Key )。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM