When I have a console app configured in my launch.json using the "console": "integratedTerminal" option, the app does not run as expected. It merely pops open a terminal, seems to run vsdg, but then the process is killed somehow.
Both integratedConsole and externalTerminal work exactly as expected. I am kind of at a loss. This may be an issue with this extension, the C# extension, VS Code, or just me. I am also not sure how to enable trace logs or verbose output during this process to try to detect what is going on.
Steps To Reproduce
Create a new .NET 8 console app that does anything, even Hello World type of thing.
Create a launch.json config that looks something like:
I have the same problem. I managed to run the project by changing the console property from integratedTerminal to internalConsole. It seems to be a workaround, but for now it works.
Describe the Issue
When I have a console app configured in my
launch.json
using the"console": "integratedTerminal"
option, the app does not run as expected. It merely pops open a terminal, seems to run vsdg, but then the process is killed somehow.Both
integratedConsole
andexternalTerminal
work exactly as expected. I am kind of at a loss. This may be an issue with this extension, the C# extension, VS Code, or just me. I am also not sure how to enable trace logs or verbose output during this process to try to detect what is going on.Steps To Reproduce
Expected Behavior
The app should open a new terminal panel in VS Code and run the app within that integrated terminal.
Environment Information