

Make sure your Xdebug port is set to 9000 and that “Can accept external connections” is checked. Now, it’s time to configure debugging go to Preferences->PHP->Debug. The solution for me was to set a path mapping to map the lower-case path to the actual path. The issue was that I had an upper case letter in a file path and Apache/PHP/Xdebug was passing the filename in lower-case to PHPStorm so the breakpoint never triggered. But remote debugging was working, I coul use xdebug_break() to programmatically force a break point. I actually ran into an error on my local environment where my breakpoints would trigger on index.php but no other breakpoints in other files would work. This is used if you’re using symlinks or if your files reside on a remote server. You may need to edit your path mappings in this window.
