Skip to content

Test hangs when in debug mode - VSCode - dotnet 9 #1246

Closed
@erwinkramer

Description

@erwinkramer

If running tests, it works just fine. If i go into debugging instead of running, then it straight up doesn't do anything but hang.

Might be similar to #1018, but i got a repo to test with.

Check out https://github.com/erwinkramer/bank-api/blob/main/BankApi.Tests/Program.cs where i have the 'broken' setup.

Running in the latest VSCode on Windows with the extensions as written in extensions.json and the VSCode setting as specified in settings.json.

By the way, it is a dotnet 9 project.

Trying to cancel the run is also unresponsive when it's hanging:

image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions