First, run dotnet test from a terminal.

Then open the VS Code command palette.

Choose Debug: Select and Start Debugging.

Debug: Select and Start Debugging

Next choose .NET Core Attach.

.NET Core Attach

Finally, attach to testhost.exe.

testhost.exe

Woot!