phpstorm xdebug配置

phpstorm 8.0.3版本php

1.自己自帶xdebug插件服務器

2.在xampp的php.ini中最後中添加(若是有[XDebug]配置替換)app

[XDebug]
zend_extension = "D:\Program Files\xampp\php\ext\php_xdebug.dll"
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "D:\Program Files\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = On
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
;xdebug.trace_output_dir = "D:\Program Files\xampp\tmp"phpstorm

 

3.而後再配置 phpstorm  裏的  插件

php--xdebug設置 debug

4.新建一個調試 調試

5.設置一下 服務器路徑和文件名orm

而後能夠隨意地打斷點,按那個小蟲子按鈕來調試程序了blog

相關文章
相關標籤/搜索