簡體   English   中英

xdebug-等待與ide鍵的傳入連接

[英]xdebug-waiting for incoming connection with ide key

我正在使用xDebug。 但我無法調試整個項目。 我可以調試啟動URL頁面斷點。 但當我跨過線路時,它顯示登錄頁面,當我提交登錄頁面時,我無法到達下一個斷點。 在變量窗口中,它顯示“正在等待使用ide鍵的傳入連接”。我的x.bbb的php.ini配置:

[XDebug]
    zend_extension="/usr/lib/php5/20121212+lfs/xdebug.so"
    xdebug.remote_enable=1
    xdebug.remote_port="9001"
    xdebug.profiler_enable=1
    xdebug.profiler_output_dir="home/tmp"

請幫忙。

也許你可以在php.ini中添加一行:

xdebug.remote_connect_back=1

我希望這種方法對你有所幫助。

你應該設置phpstorm的DBG代理 在此輸入圖像描述

見: 參考鏈接

因為Xdebug需要cookie XDEBUG_SESSION或url XDEBUG_SESSION_START的查詢字符串,並且值是您Waiting for incoming connection with ide key的值。

您可能會從登錄頁面錯過這兩個。

參考: https//xdebug.org/docs/remote ,搜索HTTP Debug Sessions

暫無
暫無

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

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