fsharp-language-server icon indicating copy to clipboard operation
fsharp-language-server copied to clipboard

Feature request: automatically attach testhost process when debugging unit tests

Open ChristophSchmidpeter opened this issue 5 years ago • 1 comments

When clicking on "Debug Test" above a xUnit / NUnit test, the console outputs: "Host debugging is enabled. Please attach debugger to testhost process to continue." The user then has to attach to the process manually via ".NET Core Attach", select the right process among running processes, and press "continue". (See @baronfel 's instructions in #85) Because the user-experience would be greatly improved in regards to unit tests, I suggest a feature to have these steps done automatically by the plugin.

ChristophSchmidpeter avatar Dec 05 '20 17:12 ChristophSchmidpeter

This issue is the only one that prevents me using vscode for F#, as it is very painful to attach the debugger dozens or hundreds of times per da. Is there really no way how to attach the debugger automatically? Or how difficult would it be to implement this feature?

ChristophSchmidpeter avatar Sep 23 '21 19:09 ChristophSchmidpeter