Skip to content

Commit

Permalink
feat(native): enable debug-option by default in debug-build. (#12470)
Browse files Browse the repository at this point in the history
  • Loading branch information
supervacuus authored Jan 31, 2025
1 parent 3470838 commit 2066d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/platforms/native/common/configuration/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Allows you to specify a path to the local event- and crash-database of the Nativ

<ConfigKey name="debug">

Turns debug mode on or off. If debug is enabled SDK will attempt to print out useful debugging information if something goes wrong with sending the event. The default is always `false`. It's generally not recommended to turn it on in production, though turning `debug` mode on will not cause any safety concerns.
Turns debug mode on or off. If `debug` is enabled, the SDK will attempt to print out useful debugging information if something goes wrong. If you run a debug-build (`NDEBUG` isn't defined), it will default to `true`; otherwise, the default is always `false`. You can provide a `SENTRY_DEBUG` environment variable with either `"0"` or `"1"` for "off" and "on" respectively, which will override the defaults. It's generally not recommended to turn it on in production, though turning `debug` mode on will not cause any safety concerns. You can limit the output by setting `logger_level` to an appropriate level for your production use case.

</ConfigKey>

Expand Down

0 comments on commit 2066d45

Please sign in to comment.