[xdebug-general] Re: Xdebug settings for multiple IDEs & locations

From: Derick Rethans <derick[@]xdebug.org>
Date: Thu, 1 Feb 2018 10:56:13 +0000 (GMT)

On Thu, 1 Feb 2018, Steve wrote:

> Hi,
>
> I'm new to xdebug.
>
> I noticed that there are settings to be put int he php.ini file for
> specifying which IDE and the IP address of the person doing the debugging.
>
> My situation is that the site to be debugged is on a remote server, where
> Xdebug is installed. How would I handle the xdebug settings for IDE and IP
> address there? There are going to be at least two people trying to debug
> that remote PHP site, with different IDEs and IPs.

In that case, setting xdebug.remote_connect_back=1 should do the trick.
With this on, Xdebug will try to use HTTP headers to find out the IP
address of the machine with the browser that made the
request-to-be-debugged. See also:
https://xdebug.org/docs/remote#communication

cheers,
Derick

-- 
Like Xdebug? Consider a donation: https://xdebug.org/donate.php,
or become my Patron: https://www.patreon.com/derickr
Xdebug | https://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Thu Feb 01 2018 - 10:56:14 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST