hbenl / vscode-test-explorer

The VS Code Test Explorer extension
MIT License
214 stars 55 forks source link

debug-all and debug-file commands? #211

Closed The-Compiler closed 3 years ago

The-Compiler commented 3 years ago

Looks like most commands provided by Test Explorer in the command palette have a debug equivalent:

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! :+1: Makes it much easier for Live Share sessions, and also has some other perks I'm missing from the Python extension.

hbenl commented 3 years ago

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.

The-Compiler commented 3 years ago

FWIW the main reason is that I'm building a VSpaceCode menu for test explorer:

image

and it just seemed off to have upper-case equivalents for most except those two :slightly_smiling_face:.

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.

hbenl commented 3 years ago

I have added the debug-file and debug-all commands now.