去评论
dz插件网

php7.4 安装xdebug3.1.3

镖师
2023/04/25 07:49:06
xdebug閰嶇疆xdebug2.+ 璺焫debug3.+閰嶇疆涓嶄竴鏍
鍙互鍙傝冩枃妗debug: Documentation 禄 Upgrading from Xdebug 2 to 3
2.0鐗堟湰閰嶇疆
  1. [XDebug]
  2. xdebug.remote_enable=ON
  3. xdebug.remote_autostart=ON
  4. xdebug.auto_trace=ON
  5. xdebug.idekey="PHPSTORM"
  6. xdebug.remote_handler="dbgp"
  7. xdebug.remote_mode="req"
  8. xdebug.max_nesting_level=600
  9. xdebug.remote_port = 11011
  10. xdebug.remote_host = "127.0.0.1"
  11. xdebug.remote_log = "/var/log/php/xdebug.log"
xdebug3鐗堟湰鐨刾hp.ini閰嶇疆
  1. [XDebug]
  2. xdebug.mode = debug,trace
  3. xdebug.start_with_request = yes
  4. xdebug.remote_handler="dbgp"
  5. xdebug.idekey="PHPSTORM"
  6. xdebug.client_port = 11011
  7. xdebug.client_host = "127.0.0.1"
  8. xdebug.log = "/var/log/php/xdebug.log"
閮介厤缃畬鎴愪簡浣嗘槸杩樻槸涓嶆柇鐐规墦鍗般傘傘傘俢lient_port涓瀹氳鍜宲hpstorm閲岃缃殑xdebug鐨勭鍙e彿涓鑷达紝涓嶇劧璋冭瘯涓嶉氱殑銆
mode鍙傛暟杩樻病閰嶇疆鎴愬姛
涔岄緳浜嗭紝鏈鍚庢墠鍙戠幇鏄垜澶嶅埗鐨勪唬鐮佸彲鑳藉瓨鍦ㄧ┖鏍间箣绫荤殑瀵艰嚧娌℃湁鐢熸晥锛屾垜鍙堥噸鏂版墜鎵撲簡涓閬嶆垚鍔熶簡

淇敼缂栬緫鍣ㄧ殑閰嶇疆锛


鎴愬姛浜嗭紒锛侊紒


婧愭枃鍦板潃锛歨ttps://blog.csdn.net/qq_24909089/article/details/123141687