add_watch
Monitor PHP variable values during debugging by adding watch expressions that evaluate on each breakpoint.
Instructions
Add a watch expression that will be evaluated on each break. Watch expressions persist across steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | PHP expression to watch (e.g., '$user->id', 'count($items)') |