Closed Nkmol closed 1 year ago
This PR adds support for attaching a go-delve session to the codebase using a -debug flag. This follows the documentation of https://developer.hashicorp.com/terraform/plugin/debugging where the implementation of https://developer.hashicorp.com/terraform/plugin/sdkv2/debugging is used.
go-delve
-debug
Together with a local .terraformrc and a local backend, I can live test and debug (with VSCode break points) this provider. I thought this might be a nice addition for everyone.
.terraformrc
This PR adds support for attaching a
go-delve
session to the codebase using a-debug
flag. This follows the documentation of https://developer.hashicorp.com/terraform/plugin/debugging where the implementation of https://developer.hashicorp.com/terraform/plugin/sdkv2/debugging is used.Together with a local
.terraformrc
and a local backend, I can live test and debug (with VSCode break points) this provider. I thought this might be a nice addition for everyone.