Debug Test at Caret
test.debugAtCaret Debug the test at the caret: a JUnit test via the project's build tool, a Python test under pytest or unittest, a Node.js test under node --test.
How to run it
Open the command palette (M-x in the Emacs keymap) and search for Debug Test at Caret, then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.