Watches
Watches allow you to quickly evaluate expressions while you step through your script.
![How to add a new watch expression](/pngs/debugger/watches-add.zh-cn_400.9316526247e7fb76418ec139c30cc5bf.png)
By default, watches are displayed in the variables view. Alternatively, you can configure the view to display watches in a separate panel on the right. Please refer to the IntelliJ documentation for instructions.
The watches are automatically updated when you step through your script.
![Evaluated watches while debugging a Bash script in IntelliJ](/pngs/debugger/watches-rendering.zh-cn_400.9e917c88429f32974b9759e8a56c214c.png)