I'm trying to debug php pages on a remote server. But it will not work as supposed. I tried out various configurations and settings. Everything works fine when the http Server runs on the local machine. But the debugger is waitng for connection on port 9000 when trying to connect to a webserver in my local network. When trying to connect with an other Xdebug client like Eclipse everthing works fine.
But one after the other (the setup I'm using):
The server (e.g. local ip 192.168.0.1) is running with a WAMP installation (Apache/2.2.11 (Win32) PHP/5.2.6 and DOCUMENT_ROOT D:/opt/wamp/www/ )
The client (e.g. local ip 192.168.0.2) Intellij 9.0.1, Windows XP, Content Root (e.g. C:\dev\www\ , with at least one file phpinfo.php)
php.ini on 192.168.0.1
PHP setting in IntelliJ
Server Root: http://192.168.0.1
XDebug port: 9000
PHP directory: c:\php\ph5.2.6 (a local php directory)
Run/Debug config: (e.g. phpinfo.php)
Web path: http://192.168.0.1/phpinfo.php
Debug: Open web page in browser....
Local Client Local Server
C:\dev\www\ => D:\opt\wamp\www
I also tried to set a specific idekey in php.ini and in "wait for xdebug..." in the Run/Debug Configurations, with and without mapping, with auto mapping and so on... but allways the same problem: IDEA is still waiting for conection on port 9000.
Additionally I added the appropriate category to log.xml. -> no exceptions in the log...
So what's the/my mistake?
Thanks in advance