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 has no default keybinding, but you can bind one in Settings → Keymaps.

See also