Logging breakpoints

If you want to log program state during debugging, use non-suspending breakpoints. Select the expression that you want to log, hold Shift, and click the gutter at the line where the expression should be logged.

In the example, 'Person ' . $i will be logged upon reaching line 20.

Non-suspending breakpoint