A watch enables you to track the changes in the value of a variable or expression during program execution. The Watches window lists all of the watches you defined for all IDE projects, of all programming languages. You can open the Watches window by choosing Window > Debugging > Watches (Alt-Shift-2).
Before you can set watches in PHP code, you must enable PHP watches. To enable watches:
For more information about PHP Debugging Options, click Help at the bottom of the Debugging tab.
If watches and balloon evaluation is enabled in PHP Options, you can create watches in the Source Editor. To create a watch from the Source Editor:
The New Watch dialog box opens with the variable or expression entered in the text field.
The Watches window opens with the new watch selected.
For more details, see the following document.