《PHPStorm 開啟 PHP 調(diào)試模式》要點:
本文介紹了PHPStorm 開啟 PHP 調(diào)試模式,希望對您有用。如果有疑問,可以聯(lián)系我們。
相關(guān)主題:PHP開發(fā)編輯器
首先把 xdebug.dll 放到 當前PHP版本中的 ext 文件中(xdebug.dll 需和你當前所使用的PHP版本保持一致)
在 php.ini 中添加如下代碼
[XDebug]
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir ="E:\phpStudy\tmp\xdebug"
xdebug.trace_output_dir ="E:\phpStudy\tmp\xdebug"
;cache.out.1470471708-E__WWW_YCPX20160720_demoTest_del_1_php
xdebug.profiler_output_name = "cache.out.%t-%s"
zend_extension="E:\phpStudy\php53\ext\xdebug.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM
來源【鄭州宇晨PHP培訓】博客:
http://blog.163.com/yong5123@126/blog/static/4551606220167681422210/
《PHPStorm 開啟 PHP 調(diào)試模式》是否對您有啟發(fā),歡迎查看更多與《PHPStorm 開啟 PHP 調(diào)試模式》相關(guān)教程,學精學透。維易PHP學院為您提供精彩教程。
轉(zhuǎn)載請注明本頁網(wǎng)址:
http://www.snjht.com/jiaocheng/11787.html