1
我更新的EasyPHP到版本12,食+ Xdebug的調試2.2.1打開過時文件
如果我調試 期間設置在Eclipse中斷點/work/abc.php,Eclipse的開闢了一個Ç :\ www \ work \ abc.php
然後當我修改/work/abc.php時Eclipse仍然顯示舊文件!
Xdebug 2.2.1更穩定,但是這個本地文件拷貝是什麼東西? 這裏是在php.ini
;Xdebug
zend_extension = "${path}\php\php5314x120809150232\php_xdebug-2.2.0-5.3-vc9.dll"
xdebug.default_enable=0
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_autostart = false
xdebug.dump_globals=1
xdebug.dump=COOKIE,FILES,GET,POST,REQUEST,SERVER,SESSION
xdebug.dump.SERVER=REMOTE_ADDR,REQUEST_METHOD,REQUEST_URI
xdebug.show_local_vars=1
xdebug.show_mem_delta=1
xdebug.collect_includes=1
xdebug.collect_vars=1
xdebug.collect_params=4
xdebug.collect_return=1
xdebug.auto_trace=0
xdebug.trace_options=0
xdebug.trace_format=0
xdebug.trace_output_dir="${path}\xdebug\trace"
xdebug.trace_output_name="trace.%t"
xdebug.profiler_enable=0
xdebug.profiler_append=1
xdebug.profiler_enable_trigger=1
xdebug.profiler_output_dir="${path}\xdebug\profiler"
xdebug.profiler_output_name="cachegrind.out.%s.%t"
;/Xdebug
我使用Eclipse PHP開發版本:3.0.2(Eclipse平臺版本:3.7.1)
能否詳細說明一下? - 當請求仍然有效時,是否修改文件(只能由調試器停止)? - 你在eclipse中或通過其他工具修改文件嗎? – cypherabe
我只在沒有進行任何請求時才使用eclipse進行修改(因爲在調試器中不會等待我按F8繼續) – max4ever
好像您的工作流是正確的......奇怪的是,我從來沒有將這個與xdebug在apache上遠程運行。肯定聽起來像是緩存問題 – cypherabe