[xdebug-general] Re: Multiple User Feature Request

From: Raymond Irving <xwisdom[@]gmail.com>
Date: Fri, 18 Feb 2011 02:57:01 -0500

Hi Derrick,

Thanks for the feedback.

How about making xdebug support comma a delimited list of ips for
remote_connect_back? This could be done my checking to see if
$_SERVER['REMOTE_ADDR'] is
within the list of ips. Then it could use the $_SERVER['REMOTE_ADDR'] to
make a connection. The same could be done for remote_host if
$_SERVER['REMOTE_ADDR']
 existing in the remote_host list.

xdebug.remote_connect_back = 192.168.1.1, 192.168.1.2, 10.100.40.10

What do you think?

__
Raymond

On Thu, Feb 17, 2011 at 9:30 AM, Derick Rethans <derick[@]xdebug.org> wrote:

> On Wed, 16 Feb 2011, Raymond Irving wrote:
>
> > I've noticed that XDebug does not support multiple user connections
> because
> > xdebug.remote_host can only support one IP address at a time but isn't it
> > possible to allow remote_host to support a comma delimited list of host
> > names or ip addresses? It could even be modified to support wildcards or
> > regex patterns. For example:
>
> Xdebug (since 2.1) has a xdebug.remote_connect_back setting:
> http://www.xdebug.org/docs/remote#remote_connect_back
>
> Does that do what you want?
>
> > # comma delimited list of ip address
> > xdebug.remote_host = 192.168.1.1, 192.168.1.2, 10.100.40.10
>
> That would not work, as Xdebug needs to know to which IP address to
> connect to. It can't randomly guess from that list.
>
> cheers,
> Derick
>
> --
> Like Xdebug? Consider a donation: http://xdebug.org/donate.php
> Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
> twitter: @derickr and @xdebug
>
Received on Fri Feb 18 2011 - 07:57:02 GMT

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