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
233 stars 13 forks source link

[BUG] Console app does not start in integrated terminal during debug #1488

Open giddingsra0 opened 1 month ago

giddingsra0 commented 1 month ago

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.

image

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

Expected Behavior

The app should open a new terminal panel in VS Code and run the app within that integrated terminal.

Environment Information

leonardogbr commented 1 month ago

+1

leonardogbr commented 1 month ago

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.