debug-all and debug-file commands?
Closed this issue · 3 comments
Looks like most commands provided by Test Explorer in the command palette have a debug equivalent:
rerun
->redebug
run-test-at-cursor
->debug-test-at-cursor
rerun
->redebug
However, that's not the case for run-all
and run-file
, i.e. there's no debug-all
or debug-file
. Is there a reason for that?
By the way, thanks for the great extension! 👍 Makes it much easier for Live Share sessions, and also has some other perks I'm missing from the Python extension.
The only reason is that I thought there was no use for it (I usually only run single tests in the debugger). But since you're asking I guess you have a use for it, so I'll add this soon.
FWIW the main reason is that I'm building a VSpaceCode menu for test explorer:
and it just seemed off to have upper-case equivalents for most except those two 🙂.
But I'd probably use at least debug-file
from time to time indeed, when e.g. working on a new feature and having multiple tests with breakpoints in them.
I have added the debug-file and debug-all commands now.