Allow forcing the use of colors
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- tooling
调研方向
Start by locating the color-detection and useColor handling in the JavaScript source, then inspect existing tests for browser and environment-specific behavior. Define how an explicit useColor: true option should work without window, process, or environment variables, and add coverage showing that forced colors are enabled.
由索引模型根据 Issue 内容生成。
描述
Hi,
I'm developing a Figma plugin and the code runs on a sandbox with no access to window or process so although I'm using Chrome Dev Tools to see the messages, debug is not coloring them.
Also, I can't set environment variables, so I would like to useColor to true, like I'm using Debugger.enable('cva:*');
- 主要语言
- JavaScript
- 星标
- 11.5k
- 派生
- 993
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
debug-js/debug 的其他 Issue
-
Add documentation around using ESM imports可能已有人在做 @taronsung 于 247 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
Debug as JSON未关闭
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 28/100
相似的 Issue
-
[quality] coverage gate exits 0 when the test run is killed by a signal (tests/tools/coverage-report.mjs:680 `?? 1` is untested)可能已有人在做 @hivecommons-hive 今天认领。 未关闭agent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31 quality testing
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
feedback simulation workshop
难度 2/5 1-3 小时 新手友好度 84/100
githubnext/gh-aw-workshop#4174 ·
维护者通常 1 天内回复
-
sendDefaultPii is reported as deprecated on ReactNativeOptions although dataCollection is hidden未关闭Bug React-Native Waiting for: Product Owner
难度 2/5 1-3 小时 新手友好度 85/100
getsentry/sentry-react-native#6830 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
JuliusBrussee/caveman#1183 · 1 条评论 ·
维护者通常 1 天内回复