Skip to content

Set options.debug = true if we can reliably detect that the app runs in a debug build #201

@buenaflor

Description

@buenaflor

So users can easily spot errors during development, the SDK can automatically enable debug mode when it reliably detects it's running in a debug build. When doing so, the SDK must communicate this in the docs and with a log message when initializing the SDK. When the user explicitly sets the debug option to false, the SDK must disable the debug mode.

https://develop.sentry.dev/sdk/expected-features/#auto-debug-mode

Pls add missing platforms if you think they're missing

### Tasks
- [ ] https://github.com/getsentry/sentry-cocoa/issues/4741
- [ ] https://github.com/getsentry/sentry-java/issues/4123
- [ ] https://github.com/getsentry/sentry-react-native/issues/4463
- [ ] https://github.com/getsentry/sentry-dart/issues/2561
- [ ] KMP
- [ ] https://github.com/getsentry/sentry-native/issues/1121
- [ ] https://github.com/getsentry/sentry-capacitor/issues/818
- [ ] Unity
- [ ] https://github.com/getsentry/sentry-dotnet/issues/3212

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions