Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Newbie: XDEBUG Waiting for Session Issue(XDEBUG fails to create a session)
Newbie: XDEBUG Waiting for Session Issue [message #779580] Mon, 16 January 2012 04:50 Go to next message
Eyal Kattan is currently offline Eyal KattanFriend
Messages: 2
Registered: January 2012
Junior Member
Hi All,

I know this question has been asked numerous times. I went through many of the threads but none of the suggested solutions seem to work for me.

Problem Description:
In Eclipse Helios Build: 20100617-1415, when trying to debug my index.php the page opens up in the internal browser with the following URL:

localhost/medianexus/index.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=132668791037711

However the Progress View shows the following message:

Launching: waiting for XDebug session

My environment is configured as follows:

All running on local macine
OS: Windows 7 / 64 bit

XAMPP V1.77 including the following products:

  1. Apache V2.2.21
  2. PHP V5.3.8



My PHP Info Shows the following about XDEBUG:


Version 2.1.2
Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.145 $

Directive Local Value Master Value
xdebug.auto_trace Off Off
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.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 NEXUS-3$ no value
xdebug.manual_url www.php.net www.php.net
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 On On
xdebug.profiler_enable_trigger Off Off
xdebug.profiler_output_dir D:\xampp\tmp D:\xampp\tmp
xdebug.profiler_output_name xdebug_profile.%R::%u xdebug_profile.%R::%u
xdebug.remote_autostart Off Off
xdebug.remote_connect_back Off Off
xdebug.remote_cookie_expire_time 3600 3600
xdebug.remote_enable Off Off
xdebug.remote_handler dbgp dbgp
xdebug.remote_host localhost localhost
xdebug.remote_log D:\xampp\apache\logs\XDebug.log
D:\xampp\apache\logs\XDebug.log
xdebug.remote_mode req req
xdebug.remote_port 9125 9125 (see note below)
xdebug.scream Off Off
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir D:\xampp\tmp D:\xampp\tmp
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

Note About The Port: I had to assign different port than the default 9000 because 9000 was already taken by another app. Please see below the result of netstat command.

NESTAT - a -b Results

TCP 0.0.0.0:9000 NEXUS-3:0 LISTENING
[DTools.Services.exe]
TCP 0.0.0.0:9125 NEXUS-3:0 LISTENING
[eclipse.exe]
TCP 0.0.0.0:10000 NEXUS-3:0 LISTENING
[eclipse.exe]

I appreciate any help.

Thanks,

Eyal


Re: Newbie: XDEBUG Waiting for Session Issue [message #780597 is a reply to message #779580] Wed, 18 January 2012 18:01 Go to previous messageGo to next message
Eyal Kattan is currently offline Eyal KattanFriend
Messages: 2
Registered: January 2012
Junior Member
anyone can help with this?

Re: Newbie: XDEBUG Waiting for Session Issue [message #780681 is a reply to message #780597] Thu, 19 January 2012 01:18 Go to previous message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
>xdebug.remote_enable Off Off
Previous Topic:How to use inline doc for code completion?
Next Topic:Cannot debug with Zend + Safari on OSX Snow Leopard
Goto Forum:
  


Current Time: Fri Apr 26 06:13:59 GMT 2024

Powered by FUDForum. Page generated in 0.02818 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top