I want to pause execution only when the value in a variable changes to a specific value. I am using PHPStorm and Xdebug. Can anyone tell me how to do this?
Put a breakpoint and then right click on it (on the red bullet). Select edit and you can enter a condition.
Install breakpoints after press it right. In the window that appears, enter the condition for which you want to stop the debugger. With zend debugger it's work.
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