當前位置:編程學習大全網 - 網站源碼 - phpstorm 中是怎樣調試PHP

phpstorm 中是怎樣調試PHP

PHPStorm+XDebug配置和斷點調試

Xdebug是壹個開放源代碼的PHP程序調試器(即壹個Debug工具),可以用來跟蹤,調試和分析PHP程序的運行狀況。安裝和配置Xdebug大體分為三大步:

壹、PHPStorm配置

1.File -> Settings -> Languages & Frameworks -> PHP

//詳情:?/thread-12-1-1.html

XDebug]

zend_extension="E:\phpStudy\php\php-5.6.27-nts\ext\php_xdebug.dll"</p><p>xdebug.profiler_append?=?0

xdebug.profiler_enable?=?0

xdebug.trace_enable_trigger?=?1

xdebug.profiler_enable_trigger?=?1

xdebug.profiler_output_dir?="E:\phpStudy\tmp\xdebug"

xdebug.trace_output_dir?="E:\phpStudy\tmp\xdebug"

;xdebug.profiler_output_name?=?"cachegrind.out.%t-%s"

xdebug.profiler_output_name?=?"callgrind.out.%t-%s"

xdebug.remote_enable?=?1

xdebug.remote_handler?=?"dbgp"

xdebug.remote_host?=?"127.0.0.1"

這個帖子很詳細/thread-12-1-1.html

  • 上一篇:Qt如何實現靜態編譯與動態編譯***存
  • 下一篇:高壹物理萬有引力這章的衛星變軌時速度變化問題
  • copyright 2024編程學習大全網