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

Add debugging/investigation help for contributions #156

Conversation

nikstuckenbrock
Copy link
Contributor

Hey @VoyTechnology ,

when debugging and testing the errors from issue #149 I noted done some things I needed to do before getting everything to work for debugging and investigating. I thought this info could be useful for others as well, so I added a bit to the documentation.

I would appreciate if you could add the HACKTOBERFEST-ACCEPTED label to this PR.

Thanks :)


If terraform still uses the preinstalled version you can try to move the binary to the explicit plugins folder, as mentioned in the [official terraform documentation](https://developer.hashicorp.com/terraform/plugin/debugging) or in a [terraform tutorial](https://developer.hashicorp.com/terraform/tutorials/providers/provider-debug):
```bash
mv terraform-provider-virtualbox ~/.terraform.d/plugins/registry.local/local/virtualbox/5.0.0/linux_amd64/terraform-provider-virtualbox_v5.0.0
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to do a symlink instead? It would result in a faster iteration cycle rather than having to build + mv.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The documentation suggests to move it, but I think a symlink should also work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@VoyTechnology I've tested it now and a symlink does also work. I've added a simple note to the CONTRIBUTING.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Change has been accepted as a valid hacktoberfest contribution. Thank you for your support!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants