Conditional breakpoints condition syntax?

Hi

I would like a break point to be executed only when the PHP variable $foo == 'bar' .  What is the correct syntax for my example? as i cannot seem to work it out?

Thanks in advance!

1 comment

Hello Andre,

Sorry for delay.

I would like a break point to be executed only when the PHP variable $foo == 'bar' .  What is the correct syntax for my example? as i cannot seem to work it out?

Yes, it is correct syntax. It is allowed to set any valid PHP expression as breakpoint conditioin.
Does it work for you?

Thank you for feedback!

0

Please sign in to leave a comment.