|
Re: Updates to Xdebug Support within PDT. [message #59868 is a reply to message #59818] |
Mon, 29 October 2007 21:05 |
Eclipse User |
|
|
|
Originally posted by: Martin.eisengardt.de
> 10. Debugging multisession support - This is not enabled by default, but
> will allow you to have
> multiple web script debug sessions running concurrently. I have yet to
> write this up in the document on using XDebug, but will do so in the
> future.
Some question. Will a second session use a different url (different
parameters)?
|
|
|
Re: Updates to Xdebug Support within PDT. [message #59916 is a reply to message #59868] |
Tue, 30 October 2007 07:24 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotnospmail.com
Martin Eisengardt wrote:
>> 10. Debugging multisession support - This is not enabled by default, but
>> will allow you to have
>> multiple web script debug sessions running concurrently. I have yet to
>> write this up in the document on using XDebug, but will do so in the
>> future.
>
> Some question. Will a second session use a different url (different
> parameters)?
>
>
It doesn't have to be the same URL, it can be different (or the same
with different parameters), but there are some limitations.
1. you cannot debug the URL by invoking another launch (the URL must be
invoked in a different way, eg by hand, by java script, by some external
program).
2. If you are debugging the initial script and want to enter a URL into
say another tab in fire fox you will need to add
XDEBUG_SESSION_START=ECLIPSE_DBGP as a parameter to the URL (as the
cookie doesn't get set in the browser until the 1st script completes and
xdebug would not attempt to start a debug session)
3. The original launch will need to use a project or folder name and
further URL invocations need to invoke scripts in the same project or
folder for path mapping to work.
The multisession support was provided to address some specific
scenarios, so it would be good to get feedback on its use to see if
other scenarios are required and how it could be improved to support them.
Dave Kelsey
|
|
|
Powered by
FUDForum. Page generated in 0.02576 seconds