I'm running localhost web server on my Windows machine with WebMatrix and IISExpress. I've installed PHP and Xdebug in it and they both are working.
I have a local WordPress install.
I'm now trying to get PhpStorm to debug it using Xdebug.
When I run PhpStorm it launches the web app in the browser with relevant debugging parameters in the browser.
IDE KEY is matching
xdebug.remote_port
is configured correctly. (Later I found that this is wrong, but not erroneous. It should be port 9000)
But it seems Xdebug never gets to communicate with PhpStorm. PhpStorm keeps listening, and the execution runs completely without stopping at any break-points.
netstat
or downloadtcpview
from MS website) 3) Have you set up path mappings (Settings | PHP | Servers) -- PhpStorm should ask you to do this when it receives xdebug request? 4) Is PhpStorm is enabled in Firewall on xdebug port (wince it's xdebug who connects to PhpStorm)? – LazyOnexdebug.remote_port
is for communicating between xdebug and IDE (xdebug will attempt to connect to this port to establish debug connection). It cannot be port where website is running. These 2 articles should do the job: 1) confluence.jetbrains.com/display/PhpStorm/… 2) confluence.jetbrains.com/display/PhpStorm/… – LazyOne