[xdebug-general] Re: How can I configure xdebug to work only on one virtual server ?

From: David Sklar <sklar[@]sklar.com>
Date: Wed, 05 Jan 2005 10:36:48 -0500

Derick Rethans wrote:
>
> You can't do that with any Zend extension, unless you run two seperate
> copies of apache on your machine. But why would you want to use Xdebug
> for only some vhosts?

This is, perhaps, a rare case, but I run in to this when doing training
presentations. I have a few vhosts on running under Apache on my laptop.
Most are for various development projects (where I want xdebug on), one
is the vhost that a modified version of pres2 is running on -- this
vhost holds my training presentations. I want xdebug *off* on this one
so that beginning students don't get confused by things like xdebug's
var_dump() automatically entity-encoding special HTML characters.

It's easy enough to fix in other ways (use multiple apache daemons, or
just change the config and restart apache before and after training
presentations), but it's a situation where enabling/disabling xdebug on
a per-vhost basis would be helpful.

David
Received on Wed Jan 05 2005 - 16:36:52 GMT

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