microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
192 stars 6 forks source link

[BUG] First 'Run without Debugging' starts a debug session. #1050

Open WardenGnaw opened 1 month ago

WardenGnaw commented 1 month ago

Describe the Issue

When using Run without Debugging or Ctrl + F5, you will be asked which debugger to use. After selecting C# it seems to start a debug session instead of running it.

Steps To Reproduce

  1. Create a dotnet new console project
  2. Set a breakpoint.
  3. Use Ctrl + F5
  4. See that the breakpoint is hit like a debug session happened.

Expected Behavior

Breakpoint does not hit and program runs and prints hello world.

Environment Information

OS: All C# Dek Kit v1.5.10

WardenGnaw commented 1 month ago

This change requires the newer version of VS Code and an update to the C# DevKit.