-
Notifications
You must be signed in to change notification settings - Fork 682
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 inside a Docker Container from Windows host - Error: Input connection was closed. Aborting the debug session. #1732
Comments
I have tried numerous combinations of |
Changing
|
Using
I get the same |
I have realised, almost by pure luck, that I only see this problem when I launch vscode (via |
Glad you found a work around. As an FYI, what that first error message means is that, inside the container, vsdbg was unable to read from stdin. So this may be a problem with docker rather than this extension. But I will the issue active until someone has the cycles to dig in more and see if there is a C# extension issue. |
@lewislabs Thank you for the test repo! Sadly, I am unable to reproduce the error you get when launching vscode from git-bash. However, can you provide additional information to help me reproduce this issue?
|
Hi @WardenGnaw
|
Update on the above comment. Using the 2.0.0-sdk and switching the app's runtime to |
Powershell terminal launch command from cmder is
|
@lewislabs Thanks for the update! I can reproduce this issue with the same error message and will be continuing further investigation. |
It may be an issue with ConEmu. One work around to get VsCode working with Cmder is running |
See Maximus5/ConEmu#1068 as well Also when running on bash, in cmder setting ConEmuANSI doesn't help |
Same in 2021, any known workaround? |
Environment data
dotnet --info
output:VS Code version:
C# Extension version:
1.12.1
Docker for Windows version:
Version 17.06.1-ce-win24 (13025)
Steps to reproduce
I have pushed a test repo to GitHub here - https://github.com/lewislabs/test_debug/
Clone this repo and follow the steps for running the app in the readme here
Expected behavior
The application starts up and the breakpoint is hit.
Actual behavior
I get the following output in the debug console and an error popup in VS Code.
The text was updated successfully, but these errors were encountered: