-
Install .net core test explorer
-
In the test to debug, add a breakpoint
-
In the test explorer window, select the test and right click 'Debug'
-
have a launch config to attach like so:
{ "name": "attach", "type": "coreclr", "request": "attach", "presentation": { "hidden": false, "group": "Tests", "order": 1 }, "processId": "${command:pickProcess}" },
-
Launch, in the process picker, search for testhost and atttach
-
Hit f5 (Continue) if needed - eventually the debugger should stop on the line.
Last active
May 15, 2021 07:23
-
-
Save raghur/85bcad85404787ec3ae81ff9db6a36d8 to your computer and use it in GitHub Desktop.
Debug F# tests in VSCode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment