Hi all,
For some reason I can't get hit breakpoints with vs.php 2005 - v2.8 (using trial until I get my new serial number).
vs loads the IIS localhost (port 81) fine, but does not connect with the breakpoints. Here is what I have configured.
IN VS.PHP...
Start url: http://localhost:81
External mode
PHP/JavaScript debugging
XDebug
Debug client port number: 7870
PHP.INI FILE...
zend_extension_ts="c:\php5\ext\php_xdebug-2.0.4-5.2.8.dll"
[xdebug]
xdebug.idekey = vsphp
xdebug.remote_autostart = 1
xdebug.remote_enable = 1
xdebug.remote_host = http://localhost:81
xdebug.remote_log = c:php5/xdebug_log/xdebug.log
PHPINFO...
xdebug support enabled
Version 2.0.4
Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.125.2.6 $
GDB - GNU Debugger protocol $Revision: 1.87 $
PHP3 - PHP 3 Debugger protocol $Revision: 1.22 $
Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.collect_includes On On
HOST FILE
127.0.0.1 localhost
Any ideas?
Thanks,
Nathan
juanc says:
Change this:
xdebug.remote_host = http://localhost:81
For this:
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 7870
nathanj says:
This is weird,
I made those changes you requested but phpinfo() is not showing the php.ini changes. I stopped and restarted IIS 5.1 but to no avail.
I Have set the xdebug.remote_port = 7870
but it still says xdebug.remote_port = 9000 in phpinfo()
I have set and saved to these locations that phpinfo() says the config file is pulled from...
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\php5\php.ini
Thanks again,
Nathan
juanc says:
You have to restart IIS for the changes to take effect.
nathanj says:
All works well now!
Thanks for all of the help.
~Nathan