I am unable to get remote debugging working with PHPstorm. My server environment is Windows 8.1 and WAMP 2.4. PHPStorm is version 7. "Listen for debug PHP connections" is active.
The validate remote environment shows everything is okay. I have created a very simple project and one simple PHP file. I have also created a web application referencing the PHP file. I set a breakpoint on the PHP file at the first line. When I click on "debug the web application", the debug window shows that PHPstorm is waiting for connection from ide key 17736. The browser opens and shows my PHP page with "?XDEBUG_SESSION_START=17736" appended to the URL. Nothing happens and PHP storm never receives the connection. Refreshing the page does nothing as far as the debugger is concerned. Creating a "PHP script" and debugging the same program results in the debugger becoming active and showing variables, etc. So the problem is remote debugging connection. Any thoughts?
echo 'got here(first line)<br>';
echo "got here(last line)<br>";
xdebug.remote_enable = 1
;xdebug.profiler_enable = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "e:/wamp/tmp"