Error trying to debug dotnet core

I have dot net sdk host and runtime ver 5 installed after I make a web app in vs code and try to deug it I get this error . Only info i can can fine it for windows . Sorry if this is a repost
The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.

This is completely unrelated to Manjaro.

Please ask questions about dotnet in a dotnet forum.

Closed as off topic for the forum.