-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging .NET Core C# code using Console: "The handle is invalid" #2336
Comments
From @kierenj on May 22, 2018 6:52 Ok, I immediately then thought to check launch.json and found Using Is there anything that could be done to make it more obvious/easier/the internal VS code debug console work with it? Running in the integrated terminal (using powershell in VS Code) works fine.. |
Indeed I don't. My favourite solution would be one where the VS Code debug window works and there's no need to use externalTerminal, I suppose! I wonder why it doesn't? |
The VS Code team didn't want to support providing program input from the debug console - they use input for evaluating expressions. I will close this for now. |
From @kierenj on May 22, 2018 6:51
Issue Type: Bug
Run the following C# code (.NET Core) under the debugger:
var row = Console.CursorTop;
Receive the exception:
This only happens when using the VS Code debug console (when debugging).
VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T17:11:17.614Z)
OS version: Windows_NT x64 10.0.16299
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (6)
Copied from original issue: microsoft/vscode#50262
The text was updated successfully, but these errors were encountered: