From 3fa73440174390881f08b65fecf887ebf5685f7a Mon Sep 17 00:00:00 2001 From: Hadi Cherkaoui <134227113+Hadidubyt@users.noreply.github.com> Date: Sat, 18 Jan 2025 14:04:04 +0100 Subject: [PATCH] Small docu typo fixes in debugging.md fixed a typo and changed all lower case delve to Delve since thats how delve them selfs write it --- docs/debugging.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/debugging.md b/docs/debugging.md index bab7630673..ba232d51ec 100644 --- a/docs/debugging.md +++ b/docs/debugging.md @@ -1,6 +1,6 @@ # How to Debug Terraform -As Terraform is written in Go you may use [delve](https://github.com/go-delve/delve) to debug it. +As Terraform is written in Go you may use [Delve](https://github.com/go-delve/delve) to debug it. ## 1. Compile & Start Debug Server @@ -10,7 +10,7 @@ One way to do it is to compile a binary with the [appropriate compiler flags](ht go install -gcflags="all=-N -l" ``` -This enables you to then execute the compiled binary via delve, pass any arguments as spin up a debug server which you can then connect to: +This enables you to then execute the compiled binary via Delve, pass any arguments and spin up a debug server which you can then connect to: ```sh dlv exec $GOBIN/terraform --headless --listen :2345 --log -- apply @@ -18,7 +18,7 @@ dlv exec $GOBIN/terraform --headless --listen :2345 --log -- apply ## 2a. Connect via CLI -You may connect to the headless debug server via delve CLI +You may connect to the headless debug server via Delve CLI ```sh dlv connect :2345