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

Feature request: debug mode #429

Closed
luigibk opened this issue Jan 27, 2022 · 1 comment
Closed

Feature request: debug mode #429

luigibk opened this issue Jan 27, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@luigibk
Copy link
Contributor

luigibk commented Jan 27, 2022

Add option and code to allow debugger-based debugging to use with a tool like delve to inspect what is happening in a provider as it is happening.

Overview

A detailed explanation is available in this section of the Terraform plugin sdk documentation:
debugger-based-debugging
This would allow to set breakpoints to pause execution of the provider and examine the values of variables and it would be useful to investigate reproducible bugs

Possible Implementation

Update main.go + Makefile.build to introduce the command line and compilation options needed.

Context

I found this feature useful while investigating a SIGSEGV caused by a nil pointer being dereferenced.

Your Environment

This would be only executed ad-hoc when necessary.

@luigibk luigibk added enhancement New feature or request Team:Delivery labels Jan 27, 2022
@luigibk luigibk mentioned this issue Jan 28, 2022
10 tasks
@tobio
Copy link
Member

tobio commented Apr 19, 2022

Fixed by #430

@tobio tobio closed this as completed Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants