Debug: End Program Input (EOF)
debug.endProgramInput Close the standard input of the debugged program, so that it reads end of file.
How to run it
Open the command palette (M-x in the Emacs keymap) and search for Debug: End Program Input (EOF), then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.