PHPStorm配置Xdebug小坑

2021-09-11 09:55:21 字數 1123 閱讀 8597

xdebug.idekey= phpstrom ;phpstrom除錯中一定要加入這條。其他網上都可以找到。就不浪費時間了。

[xdebug]

zend_extension = d:\lamp\php\ext\php_xdebug

-2.7

.0rc2

-7.3

-vc15-x86_64.dll

;是否允許xdebug跟蹤函式呼叫,跟蹤資訊以檔案形式儲存,預設值為0

xdebug.auto_trace=

1;是否允許xdebug跟蹤函式引數,預設值為0

xdebug.collect_params=

1;是否允許xdebug跟蹤函式返回值,預設值為0

xdebug.collect_return=

1;函式呼叫跟蹤資訊輸出檔案目錄,預設值為/tmp

xdebug.trace_output_dir =

"d:\phpstudy\tmp\xdebug"

;效能分析檔案的存放位置,預設值為/tmp

:xdebug.profiler_output_dir =

"d:\phpstudy\tmp\xdebug"

;開啟xdebug的效能分析器,以檔案形式儲存,這項配置是不能以ini_set

()函式配置的,預設值為0

xdebug.profiler_enable =

1;效能分析檔案的命名規則,預設值為cachegrind.out.

%pxdebug.profiler_output_name =

"cachegrind.out.%t.%p"

xdebug.remote_enable =

1;用於zend studio遠端除錯的應用層通訊協議

xdebug.remote_handler =

"dbgp"

xdebug.idekey =

phpstorm

xdebug.remote_host =

"127.0.0.1"

xdebug.remote_port =

9000

xdebug.idekey=

phpstrom

;phpstrom除錯中一定要加入這條。

phpstorm環境配置

一 phpstorm 出現 502 bad gateawy的解決辦法 phpstrom 安裝完後,執行檔案,出現 502 bad gateawy,關鍵原因在於環境沒有配置,兩步解決問題 1 在選單欄那裡,file setting,如圖所示 2 找到 php 像左邊箭頭的那裡。在電腦裡搜尋php.ex...

Windows XP下PHP安裝xdebug擴充套件

首先檢視本地php的版本,以及php.ini的位置,然後確定需要安裝的xdebug的版本。我的本地為php5.2.6。windows xp下php一般使用vc6編譯 執行緒安全的版本。修改php.ini檔案,在檔案的最後增加 zend extension ts your php env file p...

git 以及phpstorm配置git

windows環境下 生成公鑰和私鑰 上傳 到遠端倉庫的時候需要秘鑰進行驗證是否本人上傳的。開啟git目錄下的git bash 輸入ssh keygen,回車 可直接不輸入路徑,使用預設路徑 c users administrator ssh 按照提示要輸入兩次密碼,但是如果輸入了,每次操作操作gi...