Where is the Documentation for Repo-Specific Features (e.g. LoggingDebugSession)?
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- typescript, vscode
调研方向
阅读 LoggingDebugSession 的实现和相关的 mockDebug.ts 用法,然后将它们与 InternalDebugger 注释以及 TypeScript 扩展的 logger.ts 进行比较。记录默认文件存放在哪里、其中包含什么内容、何时以及为什么使用 logging API,以及它与控制台输出和 OutputChannel 的关系;当这些问题都有明确答案时,该 issue 即完成。
由索引模型根据 Issue 内容生成。
描述
I've been trying to figure out what the "LoggingDebugSession" is for and how it is expected to be used. The best I've been able to muster is that the vscode-mock-debug implementation uses it, setting a default text file as the output location. But...
- Where does that file end up?
- What is it expected to contain?
- When would I want to use it?
- Why would I want to use it?
- If I'm looking for Logging features, why would I use this over built-ins like
console.log/warn/errorand theOutputChannel? - How is this different from something like the TypeScript extension's
Loggerclass? - Why isn't this integrated into VSCode's Output Channel system?*
This list sort of goes on... I'm only personally aware of this because an extension I'm working on was originally based off of the Mock Debug project - as far as I can tell, nothing was ever done with the logging functionality of the LoggingDebugSession, which makes me wonder why it's the default (and has no discernible documentation)?
Have I missed something crucial here?
* The comment for the InternalDebugger class:
Manages logging, whether to console.log, file, or VS Code console.
seems to indicate ("VS Code console") that there was at some point intention to integrate this with OutputChannel but it maybe just never happened? Or does "VS Code console" simply refer to the DevTools console (which is, as far as I'm aware, the same as console.log...)?
- 主要语言
- TypeScript
- 星标
- 306
- 派生
- 90
- 平均合并
- 8 小时 36 分钟
- 30 天内合并 PR
- 3
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-debugadapter-node 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 38/100
microsoft/vscode-debugadapter-node#325 · 1 条评论 · 1 个 reaction ·
-
bug
难度 2/5 1-3 小时 新手友好度 45/100
microsoft/vscode-debugadapter-node#307 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 35/100
查看 microsoft/vscode-debugadapter-node 的全部 Issue
相似的 Issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
Crush 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
catppuccin/catppuccin#3125 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
ElementsProject/cln-application#167 · 1 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Quantco/pnpm-licenses#17 ·
-
难度 2/5 1-3 小时 新手友好度 75/100