I use phpstorm to develop websites, but for some reason breakpoints aren't synchronized. Here is my situation:
I have a folder in which I keep all my projects. On the same pc, I have also xampp running as a testing server. In phpstorm I have the xampp testing server configured as a mounted folder server. But when I apply breakpoints in the original source files, those breakpoints aren't synchronized with the files in the htdocs folder of xampp. How can I solve this?
Looks like you need to set path mappings. There are some information about that - http://blogs.jetbrains.com/webide/2011/03/configure-php-debugging-in-phpstorm-2-0/
I had similar problem when I set a breakpoint but it didnt stop on it while debugging. My webserver uses a virtual drive letter to make httdocs path easier. So my mistake was that I had not set virtual path as content root of the project in File-Settings-Directories but a real path to my local folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With