2012-03-16 7 views
1

OSをWindows 7 64に変更しました。 自分のマシンにApache 2.2、PHP 5.3(32bit)TS、Eclipse 3.7(64bit)をインストールしています。 EclipseでxDebugセッションが始まらない

私のphp.iniのXdebugのセクション

zend_extension = "C:\Program Files (x86)\PHP\ext\php_xdebug-2.1.4-5.3-vc9.dll" 
xdebug.auto_trace = 0 
xdebug.collect_includes = 1 
xdebug.collect_params = 0 
xdebug.collect_return = 0 
xdebug.default_enable = 1 
xdebug.extended_info = 1 
xdebug.idekey = "STATION24$" 
xdebug.max_nesting_level = 100 
xdebug.profiler_append = 0 
xdebug.profiler_enable = 0 
xdebug.profiler_enable_trigger = 1 
xdebug.profiler_output_dir = "C:\WINDOWS\temp" 
xdebug.profiler_output_name = "xdebug_profile.%p" 
xdebug.remote_autostart = 0 
xdebug.remote_enable = 1 
xdebug.remote_handler = "dbgp" 
xdebug.remote_host = "localhost" 
xdebug.remote_log = 1 
xdebug.remote_mode = "req" 
xdebug.remote_port = 9001 
xdebug.show_exception_trace = 0 
xdebug.show_local_vars = 0 
xdebug.show_mem_delta = 1 
xdebug.trace_format = 0 
xdebug.trace_output_dir = "C:\WINDOWS\Temp" 
xdebug.trace_output_name = "trace.%c" 
xdebug.var_display_max_depth = 5 

画像に示すように、私はPHP->デバッグセクションを設定した:

enter image description here enter image description here enter image description here

そして今、デバッグを開始しようとすると、デバッグセッションの開始時にEclipseがフリーズします。だから、

enter image description here

、私は過去にこの問題について読んだ、このポートは他の使用、人々はいくつかのアプリケーションが(私の場合9001で)XDebugのポートを使用しているため、これは言わないが、私はチェックしました、 xDebugだけが行います。 ファイアウォールが無効になっているため、xDebugへの接続をブロックするアプリケーションが1つもありません。また、「CLIアプリケーションとしてのデバッグ」はうまく動作し、「Webアプリケーションとしてデバッグ」は機能しません。

私は何をすべきか分かりません。助けてください。

+0

問題が解決しました。私はちょうどEclipseの設定でブラウザを設定するのを忘れてしまった。 – sempasha

答えて

0

Xdebug側が動作していないかIDE側であるかわからない場合は、Xdebug 2.2.0RC1からリモートデバッグログも接続の問題を記録します。

0

ちょっと考えて、あなたはPHP TSに言及しました。 xdebug TSを使うべきでしょうか? (私は最近どこでも読んでいますが、TSはまったく使用しない方が良いので、TSなどではなくPHPを変更したいかもしれません)。

関連する問題