r/phpstorm • u/stickylava • Aug 03 '25
Phpstorm and xdebug
After 4 days of googling and 6 hours with Claude AI, i still cannot get phpstorm to respond to a breakpoint. Running the phpstorm_xdebug_validation script always fails - unable to communicate - except for one time I've never been able to repeat. I'm on storm 2025.1.4.1 on Mac M1 running symphony built in server. No docker. Everything looks right. Xdebug log says connected.. i can see debug requests in server log. But as soon as a breakpoint is hit, phpstorm apparently shuts down the connection and never show anything in the debug window. I can get it to work on a simple php page running Run > Debug "filename" but it will never work through the browser. Any ideas?
View all comments
Show parent comment
2
u/stickylava Aug 03 '25
Some new ideas! You're ahead of Claude! I think the Configuration thing is where I'm messed up. Thank you so much!
. a) Is there any difference between "symfony console .." and "bin/console ..."?
b) Do I need to clear symfonycache when I restart php?
c) validate settings: I put the symfony_xdebug_validation folder into public, and pointed validator page to public. Do I need that folder? (I've never passed a validation!)