angular / angular/angularfire

DEBUG_MODE is false only if it is not listed in app.module.ts

未关闭
#3,179 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
7.8k
派生
2.2k
平均合并
22 小时 28 分钟
30 天内合并 PR
6

描述

### Version info

**Angular:** 12.2.0

**Firebase:** 9.6.6

**AngularFire:** 7.2.1

### How to reproduce these conditions

**Steps to set up and reproduce**

In app.module.ts:

`{ provide: DEBUG_MODE, useValue: true }`
`{ provide: DEBUG_MODE, useValue: false }`

Both two use cases listed above activate the debug mode in Firebase Console. If I omit DEBUG_MODE altogether from providers, only then does it not activate debug mode.

贡献指南

打开贡献指南

调研方向

从 app.module.ts 中的 DEBUG_MODE provider 条目开始,跟踪 AngularFire 如何将该值传递给 Firebase。分别在 DEBUG_MODE 设置为 true、false 和省略时复现该行为,然后验证 false 不再激活 Firebase Console 中的调试模式。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, firebase, typescript
领域
developer-experience, frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。