Perhaps use this approach to better understand what your Go based command line interface (CLI) apps are doing.
00:00 Setup some code to debug https://github.com/spf13/cobra-cli/bl...
01:27 Configure the VS code launch.json for running the debugger
02:00 Adding log points instead of print statements
https://github.com/golang/vscode-go/b...
On this page of the site you can watch the video online How to debug a Go CLI app with a duration of hours minute second in good quality, which was uploaded by the user Kai Hendry 14 March 2024, share the link with friends and acquaintances, this video has already been watched 1,109 times on youtube and it was liked by 39 viewers. Enjoy your viewing!