Skip to content

Add verbose debug flag for troubleshooting - #350

Open
VinsonLeongSioWeng wants to merge 1 commit into
tldr-pages:mainfrom
VinsonLeongSioWeng:fix-267-add-verbose-debug-flag
Open

Add verbose debug flag for troubleshooting#350
VinsonLeongSioWeng wants to merge 1 commit into
tldr-pages:mainfrom
VinsonLeongSioWeng:fix-267-add-verbose-debug-flag

Conversation

@VinsonLeongSioWeng

Copy link
Copy Markdown

Closes #267

This PR adds --verbose / --debug support for troubleshooting.

Changes:

  • Add a verbose/debug command-line option.
  • Print troubleshooting information to stderr when debug mode is enabled.
  • Include cache, source, platform, language, and fetch details in debug output.
  • Keep normal output unchanged when debug mode is not enabled.
  • Add tests for verbose/debug behavior.
  • Update README documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add verbose/debug flag for better troubleshooting

1 participant