php - Can't make Xdebug work with Eclipse PDT -
i have eclipse pdt
, xdebug
installed xampp
. although there various solutions on web couldn't find solution problem .
here phpinfo() xampp shows xdebug installed :
xdebug xdebug support enabled version 2.2.6 ide key xdebug_eclipse supported protocols revision dbgp - common debugger protocol $revision: 1.145 $ directive local value master value xdebug.auto_trace off off xdebug.cli_color 0 0 xdebug.collect_assignments off off xdebug.collect_includes on on xdebug.collect_params 0 0 xdebug.collect_return off off xdebug.collect_vars off off xdebug.coverage_enable on on xdebug.default_enable on on xdebug.dump.cookie no value no value xdebug.dump.env no value no value xdebug.dump.files no value no value xdebug.dump.get no value no value xdebug.dump.post no value no value xdebug.dump.request no value no value xdebug.dump.server no value no value xdebug.dump.session no value no value xdebug.dump_globals on on xdebug.dump_once on on xdebug.dump_undefined off off xdebug.extended_info on on xdebug.file_link_format no value no value xdebug.idekey no value no value xdebug.max_nesting_level 100 100 xdebug.overload_var_dump on on xdebug.profiler_aggregate off off xdebug.profiler_append off off xdebug.profiler_enable off off xdebug.profiler_enable_trigger off off xdebug.profiler_output_dir \ \ xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p xdebug.remote_autostart off off xdebug.remote_connect_back off off xdebug.remote_cookie_expire_time 3600 3600 xdebug.remote_enable on on xdebug.remote_handler dbgp dbgp xdebug.remote_host localhost:8756 localhost:8756 xdebug.remote_log no value no value xdebug.remote_mode req req xdebug.remote_port 9000 9000 xdebug.scream off off xdebug.show_exception_trace off off xdebug.show_local_vars off off xdebug.show_mem_delta off off xdebug.trace_enable_trigger off off xdebug.trace_format 0 0 xdebug.trace_options 0 0 xdebug.trace_output_dir \ \ xdebug.trace_output_name trace.%c trace.%c xdebug.var_display_max_children 128 128 xdebug.var_display_max_data 512 512 xdebug.var_display_max_depth 3 3
eclipse pdt when ran in debug mode pauses @ 57% eclipse showing "launching : waiting xdebug session" following url gets generated
127.0.0.1:8756/mywebsite/index.html?xdebug_session_start=eclipse_dbgp&key=14170721856664
i have followed various websites efforts went in vain .
here's php.ini part xdebug :
zend_extension = d:\xampp\php\ext\php_xdebug-2.2.6-5.5-vc11.dll ;xdebug.profiler_append = 0 xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir = "d:\xampp\tmp" xdebug.profiler_output_name = "cachegrind.out.%t-%s" xdebug.remote_enable = 1 xdebug.remote_handler = dbgp xdebug.remote_host = "localhost:8756" xdebug.trace_output_dir = "d:\xampp\tmp" ;xdebug.remote_connect_back=1 xdebug.remote_port=9000
note : since default apache port 8080 occupied have configured apache 8756
waiting xdebug session 57% in eclipse pdt couldn't !
thanks in advance !!
you have invalid configuration. replace current xdebug.remote_host
host only. port not allowed here.
btw: enabled profiling default. may slowdown each request ;)
Comments
Post a Comment