John Davidson

php - PhpStorm Xdebug breakpoints disappearing?

0 comments
Message:


I'm using Xdebug and PhpStorm to debug a PHP application.


It's all working perfectly in terms of actually doing the debugging, however, intermittently PhpStorm will remove all the breakpoints I've set up.


There seems to be no pattern or action which is causing this, so far it seems totally random (although I know it's probably not).


Here's what happens:



  • I add 10 or 15 breakpoints to various files.

  • I setup a load of test data to figure out a problem.

  • I start debugging and realise it hasn't stopped at any of my breakpoints, so I check the list of breakpoints in PhpStorm and they've all disappeared.. so I have to go back to step 1 and redo all my test data and remember where breakpoints were set.


IntelliJ / PhpStorm support say they've never heard of this happening before, and are just telling me to essentially "factory reset and try again" to see if it helps.


I'd prefer to keep that as a last resort because it'll take me ages to get everything back how I want it so I'm hoping some other people have experienced this and I'm not just going insane?


I'm on the latest version 2021.3 (Build #PS-213.5744.279, built on December 2, 2021)


I've been doing a lot of debugging today and it's happened 7 or 8 times. Sometimes it won't happen all day.



My Answer:
check my settings and make sure everything is configured correctly. However, I've double and triple checked everything and it all seems to be set up correctly.__Has anyone else experienced this issue with Xdebug and PhpStorm? Any suggestions on how to fix it or prevent it from happening again? Any help would be greatly appreciated.

Rate this post

4 of 5 based on 6530 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us