Skip to content

Giving input to Concole.ReadLine() from VSCode #1957

Closed
@SaiTeja390

Description

@SaiTeja390

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.

image

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamNeeds to be fixed upstream

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions