spacelift-io / terraform-provider-spacelift

Terraform provider to interact with Spacelift
MIT License
76 stars 29 forks source link

feat: add debug flag #462

Closed eliecharra closed 1 year ago

eliecharra commented 1 year ago

Description of the change

This add support a -debug flag so we could enable debug mode. See terraform doc for more details.

That allows us to run the provider in debug mode, and make terraform attach a running provider using TF_REATTACH_PROVIDERS. Thus we could add breakpoints and debug the provider at runtime.

Type of change

Related issues

N/A

Checklists

Development

Code review