用的是phpstudy集成開發環境php
php5的web
[XDebug]php7
xdebug.profiler_append = 0app
xdebug.profiler_enable = 1ide
xdebug.profiler_enable_trigger = 0函數
xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug".net
xdebug.profiler_output_name = "cachegrind.out.%t-%s"debug
xdebug.remote_enable = 13d
xdebug.remote_handler = dbgpblog
xdebug.remote_host= localhost
xdebug.remote_port = 9000
xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug"
zend_extension="D:\phpStudy\php\php-5.5.38\ext\php_xdebug.dll"
xdebug.idekey= PHPSTROM
===============
php7
[XDebug]
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host= localhost
xdebug.remote_port = 9000
xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug"
zend_extension="D:\phpStudy\php\php-7.0.12-nts\ext\php_xdebug.dll"
xdebug.idekey= PHPSTROM
記得開啓擴展
一種是在右上角按 配置
一種是直接在配置裏面設置
配置chrom的debug(參考)
http://download.csdn.net/detail/erisern2/9470496
選好右上角的配置,而後設置斷點,斷點記得必定要選好位置,不要選在空白處,否則沒法啓動,選在類,函數開頭,或者變量位置!!!!!!!!!!!!!!!!!!!啓動小蜘蛛就能夠了
多個配置則添加多個PHP web Application便可,配置完畢!!