-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to config debug test in vscode without codelens? #1767
Comments
We don't provide a way to do this today, but we're tracking a couple of options:
Does that help? |
@Thaina in case you are not aware, the way that the C# extension normally supports running/debugging unit tests is via a CodeLens on the test methods. I wrote up some documentation: https://github.com/OmniSharp/omnisharp-vscode/wiki/How-to-run-and-debug-unit-tests @DustinCampbell feel free to review/fix/add anything you want to that. |
@gregg-miskelly Normally I don't open codelens because it make line of code too messy. Currently now I need to open codelens just for a times I need to debug and close it afterward |
Hi Thaina! With the 1.13-beta4 release, we've added options that allow you to disable the "References" Code Lens independently from the "Run/Debug Test" Code Lenses. You can control them with the following options:
You can use the instructions here to install the latest beta release. cc @rchande |
@DustinCampbell Does that release also cope with running debug test from vscode command? |
No. The issue tracking that is right here; #421. |
I have installed nunit to test my code. But I could only run
dotnet test
. I don't know how to config to run debug testAlso vscode has its
Debug all tests
command but it report this errorwhen I call it
Does it need
omnisharp-vscode
orroslyn
to handle commands like these ?The text was updated successfully, but these errors were encountered: