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

chore: add commands for debugging tfgen #851

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Conversation

corymhall
Copy link
Contributor

@corymhall corymhall commented Mar 18, 2024

This PR adds two commands to make debugging tfgen for bridged providers easier.

  1. tfgen_build_only: Only builds to tfgen binary, doesn't run generate. When debugging if you need to rebuild tfgen, you don't need to re-run all the other stuff too.
  2. debug_tfgen: Starts tfgen as a debug server. Instructions on how to debug tfgen are being added to the docs in chore: add information on how to debug tfgen pulumi-hugo#4067

This PR adds two commands to make debugging `tfgen` for bridged
providers easier.

1. `tfgen_build_only`: Only builds to `tfgen` binary, doesn't run
   generate. When debugging if you need to rebuild tfgen, you don't need
   to re-run all the other stuff too.
2. `debug_tfgen`: Starts `tfgen` as a debug server. Instructions on how
   to debug `tfgen` are being added to the docs in
Copy link
Contributor

@VenelinMartinov VenelinMartinov left a comment

Choose a reason for hiding this comment

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

🚀

@corymhall corymhall merged commit 0d652a0 into master Mar 19, 2024
3 checks passed
@corymhall corymhall deleted the corymhall/debug-tfgen branch March 19, 2024 13:43
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