I am trying to remote debug php 5.4.4 using phpStorm 4.0.3, but failed. Strangely, I can debug local PHP code normally in Phpstorm.
I'm using Xdebug v2.2.0 and my OS is Windows 8, which is the main reason cannot debug I assume. Because I can do it on Windows Server 2003, using the same configuration.
This is my configuration in php.ini
:
[xdebug]
zend_extension="D:/apachePHP/PHP/ext/php_xdebug.dll"
xdebug.remote_enable = On
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
xdebug.remote_handler = "dbgp"
xdebug.auto_trace = 1
xdebug.collect_includes = 1
xdebug.collect_params = 1
xdebug.collect_return = 1
xdebug.default_enable = 1
xdebug.collect_assignments = 1
xdebug.collect_vars = 1
xdebug.remote_autostart = 1
xdebug.remote_connect_back = 1
xdebug.show_exception_trace = 1
xdebug.show_local_vars = 1