You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Giving input to Concole.ReadLine() from VSCode #1957
I'm running code-server in Google Cloud Shell and since code-server cannot run the Microsoft's C# debugger, I'm running netcoredbg.
As mentioned here I updated my launch.json file by adding "console": "integratedTerminal".
I checked this link which says that Debug Console cannot take input to Console.ReadLine() and that it is meant only for inspection. So this means that I cannot send input to my program from Debug Console.
I read this link which says that setting "console": "integratedTerminal" will allow us to give input to the program from the "TERMINAL" tab in VSCode. But that doesn't work.
The "TERMINAL" opens a shell ready to take usual linux commands, but not the input to the Console.ReadLine().
Can someone help to sort out the issue so that I can give input to the Console.ReadLine() from VSCode itself?
I tried out netcoredbg with local VS Code and experienced the same problem so it looks like this is an upstream issue. I'm not sure if the problem lies with netcoredbg or VS Code or the C# extension though.
Running into exact same issue, Im no expert at all but have been trying to fix this for a while and have no idea what to do. Any update or solution for this?
Activity
code-asher commentedon Aug 13, 2020
I tried out netcoredbg with local VS Code and experienced the same problem so it looks like this is an upstream issue. I'm not sure if the problem lies with netcoredbg or VS Code or the C# extension though.
MaxG-Git commentedon Sep 9, 2020
Running into exact same issue, Im no expert at all but have been trying to fix this for a while and have no idea what to do. Any update or solution for this?
code-asher commentedon Sep 9, 2020
No updates, I haven't dug any further yet to see where the problem is.
ktheticdev commentedon Nov 29, 2020
Actually the problem is that netcoredbg doesn't support the "console" argument. But one can try to implement it
code-asher commentedon Nov 30, 2020
stale commentedon Oct 27, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.