Skip to content

Consider persisting the Debug Mode toggle if you want it to survive restarts #22

@pbalduino

Description

@pbalduino

Feature Request: Persist Debug Mode Setting

Currently, the debug mode toggle in the app doesn't persist between app restarts. Users need to re-enable debug mode every time they launch the app.

Current Behavior:

  • Debug mode can be enabled through the settings
  • Debug mode state is lost when the app is closed/restarted
  • Users must manually re-enable debug mode each session

Requested Enhancement:

  • Save debug mode preference to local storage (SharedPreferences)
  • Restore debug mode state on app startup
  • Maintain user's preference across app sessions

Implementation Considerations:

  • Add debug mode persistence to settings storage
  • Initialize debug mode state during app startup
  • Ensure debug mode state is properly synchronized across app lifecycle

Files Likely Affected:

  • lib/services/debug_logger.dart
  • lib/screens/settings_screen.dart
  • lib/main.dart (for initialization)

Priority: Low - Quality of life improvement for developers and power users

Labels: enhancement, settings, debug, persistence

Metadata

Metadata

Assignees

Labels

debugDebug and development featuresenhancementNew feature or requestsettingsSettings and configuration

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions