Hi, I can't seem to be able to debug. I get the page running in both I.E. and firefox in external mode. If I use built in mode it still opens in firefox but IE opens and closes really quick. I have the following in my php.ini file: zend_extension_ts="C:/PHP/Zend/debug.dll"

debug.dll is the debug dll file which renamed. I restarted my appache server, but still nothing happens. Break points never hit.

juanc says:

What are the rest of the xdebug settings?

Omego2K says:

General:

Debug Mode: Builtin mode
Debug Type: PHP/JavaScript debugging
Debug Engine: XDebug
Start Page: PHPTest/PHP Project1/PHP Project1/index.php
Browser Type: Default browser

Advanced:

php.ini path: C:\PHP\php.ini
Apache Port Number: 80
Apache Configuration Template: C:\Program Files\Jcx.Software\VS.Php\2008\2.5\httpd-template.conf
Debug Client Port Number: 888

juanc says:

I'm sorry, I meant the php.ini settings for XDebug.

Omego2K says:

All I have set for it is this:

zend_extension_ts="C:/PHP/Zend/debug.dll"

I didn't see anything else that was needed on the xdebug website.

What else do I need?

juanc says:

Add the following to your php.ini

[XDebug]
xdebug.idekey = vsphp
xdebug.remote_enable = 1
xdebug.remote_port = 7870
xdebug.remote_autostart = 1

Also if your web server is running on a different machine, use:

xdebug.remote_host = [YOUR MACHINE IP ADDRESS]

Omego2K says:

I just tried, but it still didn't work, page opens, but break point never hits

Here is what I have related to this in the ini

zend_extension_ts="C:/PHP/Zend/Debug.dll"
zend_debugger.allow_hosts=127.0.0.1,192.168.170.1,192.168.11.1
zend_debugger.expose_remotely=always
[XDebug]
xdebug.idekey = vsphp
xdebug.remote_enable = 1
xdebug.remote_port = 7870
xdebug.remote_autostart = 1

juanc says:

Do you have another debug module installed?

Which module uses the following entries:

zend_debugger.allow_host
zend_debugger.expose_remotely

You can only have one debug engine configured.

Omego2K says:

that is the zend debugger, the following line:

zend_extension_ts="C:/PHP/Zend/Debug.dll"

used to point to the zend debugger dll, I replaced it with xdebug. I did try to remove those lines before:

zend_debugger.allow_host
zend_debugger.expose_remotely

but it still didn't work

Omego2K says:

I just got it working!

only in external mode though. Here are my settings as it concerns this. All I did was redownload the xdebug dll!

zend_extension_ts="C:\PHP\Zend\php_xdebug.dll"
[XDebug]
xdebug.idekey = vsphp
xdebug.remote_enable = 1
xdebug.remote_port = 7870
xdebug.remote_autostart = 1