Closed ironsm4sh closed 2 years ago
dotnet --info output:
dotnet --info
.NET SDK (reflecting any global.json): Version: 6.0.101 Commit: ef49f6213a Runtime Environment: OS Name: debian OS Version: 11 OS Platform: Linux RID: debian.11-x64 Base Path: /usr/share/dotnet/sdk/6.0.101/ Host (useful for support): Version: 6.0.1 Commit: 3a25a7f1cc .NET SDKs installed: 3.1.416 [/usr/share/dotnet/sdk] 5.0.404 [/usr/share/dotnet/sdk] 6.0.101 [/usr/share/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 3.1.22 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.13 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.22 [/usr/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.13 [/usr/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
VS Code version: VSCodium 1.63.2 C# Extension version: muhammad-sammy.csharp v1.24.0
VSCodium 1.63.2
muhammad-sammy.csharp v1.24.0
Set the console to integratedTerminal in the launch.json and attempt to launch the debugger.
integratedTerminal
launch.json
{ "name": "Run ", "type": "coreclr", "request": "launch", "preLaunchTask": "build", "program": "${workspaceFolder}/MyProject/bin/Debug/net6.0/MyProject.dll", "args": [""], "cwd": "${workspaceFolder}", "console": "integratedTerminal", "stopAtEntry": false }
A new debug session in the integrated terminal, where the user can input text, as needed for a Console.ReadLine();
Console.ReadLine();
A new debug session in the Debug Console, where the user can not input text.
I'm having the same problem
This turns out to be an issue in netcoredbg, not free-omnisharp-vscode. https://github.com/Samsung/netcoredbg/issues/80.
Environment data
dotnet --info
output:VS Code version:
VSCodium 1.63.2
C# Extension version:muhammad-sammy.csharp v1.24.0
Steps to reproduce
Set the console to
integratedTerminal
in thelaunch.json
and attempt to launch the debugger.Expected behavior
A new debug session in the integrated terminal, where the user can input text, as needed for a
Console.ReadLine();
Actual behavior
A new debug session in the Debug Console, where the user can not input text.