Announcing XDebug support
The next build of 2.4 will contain full support for XDebug. This means you can now use DBG or XDebug for debugging your scripts. We've seen issues with DBG in the past, in particular with Php 5. XDebug delivers a better debugging experience than DBG and we hope you can benefit from this new feature.
To configure XDebug you need to change your project settings and select XDebug instead of DBG (the default). Also you need to configure your web server to use the XDebug module. These are the settings I've been using on Windows:
zend_extension_ts="C:\Program Files\Jcx.Software\VS.Php\2005\2.4\php 5\ext\php_xdebug.dll" [XDebug] xdebug.idekey = vsphp xdebug.remote_enable = 1 xdebug.remote_host = localhost xdebug.remote_port = 7870
If you update the php.ini file that comes with VS.Php you can use it with the built-in engine. By default the built-in engine will continue to be configured with DBG. At least until XDebug is stable.
Also you can configure XDebug with your own web server. Make sure you configure the remote_host setting properly. XDebug does not allow you to set this on the query string as DBG. This is more secure but a bit more restrictive.
One cool feature of XDebug is that you can see the class type for objects instead of the generic object type shown with DBG. The following screenshot shows VS.Php debugging using XDebug:
You can access the latest beta here: VS.Php 2.4 Beta