Debug: Run to Cursor
debug.runToCursor Resume and stop at the caret line.
How to run it
Open the command palette (M-x in the Emacs keymap) and search for Debug: Run to Cursor, then press Enter. It also has a default keybinding:
| Emacs | C-cC-du |
| IntelliJ IDEA | M-f9 |