[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Updates to Xdebug Support within PDT.

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