Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Document the usage of debug mode --debug in usage/debugging #2450

Open
ADV1K opened this issue Oct 15, 2023 · 1 comment
Open

Docs: Document the usage of debug mode --debug in usage/debugging #2450

ADV1K opened this issue Oct 15, 2023 · 1 comment
Labels
CLI This is related to our CLI Documentation 📚 This is related to documentation

Comments

@ADV1K
Copy link

ADV1K commented Oct 15, 2023

Summary

from discord:

There are 2 ways. add --debug to the litestar run command. Or you can change the default LoggingConfig (Litestar.logging_config). The log_exceptions attribute accepts the following a Literal['always', 'debug', 'never'] and defaults to debug


Note

While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.

Check out all issues funded or available for funding on our Polar.sh Litestar dashboard

  • If you would like to see an issue prioritized, make a pledge towards it!
  • We receive the pledge once the issue is completed & verified
  • This, along with engagement in the community, helps us know which features are a priority to our users.
Fund with Polar
@ADV1K ADV1K added the Documentation 📚 This is related to documentation label Oct 15, 2023
@JacobCoffee
Copy link
Member

We do have this in the CLI documentation. I believe you were referring to adding it in the https://docs.litestar.dev/latest/usage/debugging.html section specifically.

@JacobCoffee JacobCoffee changed the title Docs: document the usage of debug mode (--debug) Docs: Document the usage of debug mode --debug in usage/debugging Oct 15, 2023
@JacobCoffee JacobCoffee added the CLI This is related to our CLI label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI This is related to our CLI Documentation 📚 This is related to documentation
Projects
Status: Backlog
Development

No branches or pull requests

2 participants