roslyn-sdk
roslyn-sdk copied to clipboard
Prevent auto-closing of the csc.exe window after debugging with DebugRoslynComponent ends
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: