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

Always include debug symbols with -c dbg #3029

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

fmeum
Copy link
Member

@fmeum fmeum commented Dec 14, 2021

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

Previously, debugging a go_test target was only possible with an explicit --@io_bazel_rules_go//go/config:debug.

Which issues(s) does this PR fix?

Fixes bazelbuild/intellij#2313, which I think is more of a rules_go issue.

Previously, debugging a go_test target was only possible with an
explicit --@io_bazel_rules_go//go/config:debug.

Fixes bazelbuild/intellij#2313.
@robfig
Copy link
Contributor

robfig commented Dec 15, 2021

I'd normally be hesitant to add one-off rules for toggling existing flags or merge a change lacking tests, but this seems reasonable and low-risk and bazel-discuss seemed favorable towards it (https://groups.google.com/g/bazel-discuss/c/1_PC-Pj-nRg). Thanks

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.

Cannot debug go_test targets
2 participants