Debug: Attach to JVM…
debug.attach Attach the debugger to a running JVM over a socket.
How to run it
Open the command palette (M-x in the Emacs keymap) and search for Debug: Attach to JVM…, then press Enter. It also has a default keybinding:
| Emacs | C-cC-da |