name: Debug Mode
abbreviation: debug
checker: PragmaRX\Health\Checkers\Expression
notify: true
column_size: 3
error_message: "Application is in debug mode"
targets:
  - default:
      expression_value: "app('config')->get('app.debug')"
      should_return: false

name: Debug Mode on Production
abbreviation: debug
checker: PragmaRX\Health\Checkers\Expression
notify: true
column_size: 3
error_message: "Application is in debug mode"
targets:
  - default:
      expression_value: "!app()->environment('production') || !app('config')->get('app.debug')"
      should_return: true

Check for debug mode only on production
Check for debug mode only on production
