Attach debugger with specrun suing dotnet test

6 views
Skip to first unread message

Alex Burgett

unread,
Jun 25, 2020, 7:55:22 PM6/25/20
to SpecRun
Hi,

Does anyone have a method for hitting breakpoints in a specflow using specrun after setting the VSTEST_HOST_DEBUG environment variable and using dotnet test and Visual Studio Code?

I can successfully get the debugger to attach and run the code, but it doesn't hit the breakpoints even though VSCode is reporting that the symbols have been loaded.

This is the environment,
  • dotnet core 3.1.5 (sdk version 3.1.301)
  • VSCode 1.46.1
  • SpecFlow.Tools.MsBuild.Generation 3.1.95
  • SpecRun.SpecFlow 3.2.31
  • Windows 10
  • Omnisharp C# 1.22.1
Reply all
Reply to author
Forward
0 new messages