[xdebug-general] Re: NetBeans subdomain debug

From: Allister Beharry <allister.beharry[@]gmail.com>
Date: Sun, 1 Nov 2009 16:10:52 -0400

2009/11/1 Serg ! <sergeir82[@]gmail.com>:
> Hello!
>
> I develop my projects in NetBeans. Each project has his own subdomain
> on my localhost (project1.localhost, project2.localhost etc.)  .  What
> can I change in php.ini to debug my projects???
>
> Standart  setup works only with localhost :
>
> zend_extension_ts="/usr/local/php5/php_xdebug-2.0.5-5.2.dll"
>
> xdebug.remote_enable=on
>
> xdebug.remote_handler=dbgp
>
> xdebug.remote_host=127.0.0.1
>
> xdebug.remote_port=9000
>
> My Apache Version: Apache/2.2.4 (Win32) mod_ssl/2.2.4 OpenSSL/0.9.8d PHP/5.2.4
>
> Many Thanks!
> Sergey.
>
>
>

I think it would work transparently as long as project1.localhost,
project2 etc. are properly mapped to 127.0.0.1, i.e as long as
http://project1.localhost?XDEBUG_SESSION_START=new works in your
browser Xdebug should work too. I know in Eclipse you define each
virtual host separately and how each URL maps to the local filesystem
path and then you can debug.

Allister
Received on Sun Nov 01 2009 - 21:11:01 GMT

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