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

fix vscode debug failed to launched #25

Merged
merged 2 commits into from
Dec 9, 2022

Conversation

jacksontong
Copy link
Contributor

When I pressed F5 to start the debug, I got this error Failed to launch: invalid debug configuration - cannot unmarshal bool into "env" of type string

I changed CGO_ENABLED value from 0 to "0" then it fixed the issue.
golang/vscode-go#2206

Copy link
Owner

@qdm12 qdm12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. That drove me mad locally for a good 30 minutes, but forgot to push it. Thanks for the fix!! 👍

@qdm12 qdm12 merged commit b33d914 into qdm12:master Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants