Skip to content

[FEATURE-008] Enable Telemetry and Error Reporting by Default for Debug Builds #97

@Almaz-KG

Description

@Almaz-KG

Is your feature request related to a problem? Please describe.

Currently, the application has telemetry and error reporting settings that are disabled by default (send_anonymous_usage_data: false and error_reporting: false).

Describe the solution you'd like
Implement build-time configuration that automatically enables telemetry and error reporting for debug builds while keeping them disabled for release builds. This would involve:

  1. Build Profile Detection: Use Rust's built-in cfg(debug_assertions) or similar compile-time flags to detect debug vs release builds
  2. Conditional Default Values: Modify the default configuration to enable these settings when building in debug mode
  3. Environment-Specific Configuration: Potentially use environment variables or build scripts to override defaults during development

Additional Context

  • This change would significantly improve the product usage/potential issue analysis by automatically collecting telemetry and error data
  • The implementation should be transparent to the existing configuration system

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions