Debug: Add Watch

debug.addWatch

Add a watch expression evaluated at each stop.

How to run it

Open the command palette (M-x in the Emacs keymap) and search for Debug: Add Watch, then press Enter. It also has a default keybinding:

Emacs C-cC-dw

See also