Skip to content
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

Process exited with code 9 when debugging .NET Core within a container with Visual Studio Code #1761

Closed
sgdavidw opened this issue Mar 17, 2020 · 2 comments

Comments

@sgdavidw
Copy link

Hi,

I followed this document
https://code.visualstudio.com/docs/containers/debug-netcore
to try Debugging .NET Core within a container with Visual Studio Code, but didn't succeed. The error message directed me to the Github to submit this issue. would you please take a look?

Thank you,

David

Does this occur consistently?
Repro steps:

Action: docker-launch
Error type: 9
Error Message: Process exited with code 9

Version: 1.0.0
OS: darwin
OS Release: 19.3.0
Product: Visual Studio Code
Product Version: 1.43.0
Language: en

Call Stack
ChildProcess.<anonymous> extension.bundle.js:1:549589
ChildProcess.emit events.js:203:13
maybeClose child_process.js:1021:16
Process.ChildProcess._handle.onexit child_process.js:283:5
@bwateratmsft
Copy link
Collaborator

bwateratmsft commented Mar 17, 2020

Hey @sgdavidw, it looks like this is the same issue as #1744. We changed the error messages to be more useful so that in the future a better message will be presented, but that fix isn't in 1.0.0.

The issue is that the ASP.NET Core development certificate is not quite working. If you run dotnet dev-certs https --clean and then dotnet dev-certs https --trust, it should fix the problem. Please let me know if it doesn't work.

@sgdavidw
Copy link
Author

sgdavidw commented Mar 18, 2020 via email

@vscodebot vscodebot bot locked and limited conversation to collaborators May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants