Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio For Mac Debugging Unit Tests

I just downloaded VS 2019 for Mac. Console projects debugging works fine hitting break points. If I try to debug a MSTest or NUnit test project the break points are ignored with no error message.

I have tried changing the options, I am in debug mode, I have tried restarting, and creating new projects. I have downloaded the MSTest.TestFramework, and MSTest.TestAdapter from nuget. None of these have worked.

Any ideas on how to resolve this?

like image 229
Mwspencer Avatar asked Nov 16 '25 18:11

Mwspencer


1 Answers

Go to "Menu" -> "View" - "Test'. Find your test... right click on it... and "Debug test"

enter image description here

like image 74
TonyMkenu Avatar answered Nov 18 '25 09:11

TonyMkenu