Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent auto-closing of the csc.exe window after debugging with DebugRoslynComponent ends #1193

Open
kzu opened this issue Nov 22, 2024 · 0 comments

Comments

@kzu
Copy link

kzu commented Nov 22, 2024

Sometimes the compiler output is useful in troubleshooting issues with an analyzer (i.e. a missing dependency or some other error that prevents hitting breakpoints in the analyer itself).

When debugging, there's no way to prevent the launched csc from closing right after it finishes, making inspecting its output impossible.

I also tried the following without success:

{
  "profiles": {
    "Roslyn": {
      "commandName": "DebugRoslynComponent",
      "targetProject": "..\\StructId.Tests\\StructId.Tests.csproj",
      "commandLineArgs": "--wait"
    }
  }
}

NOTE: the debugger component does not honor the IDE setting to not close the console when debugging stops either:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant