PowerShell / PowerShell/PowerShell
Set-PSDebug -Trace 1 prints only first line of a multiline command
未关闭
还没有人认领这个 Issue。
Hacktoberfest
In-PR
Up-for-Grabs
WG-Interactive-Debugging
- 主要语言
- C#
- 星标
- 55.5k
- 派生
- 8.5k
- 平均合并
- 1 天 2 小时
- 30 天内合并 PR
- 88
描述
Steps to reproduce
Set-PSDebug -Trace 1
Write-Output "foo `
bar"
Expected behavior
Something like:
DEBUG: 3+ >>>> Write-Output "foo `
DEBUG: 4+ >>>> bar"
foo
bar
Actual behavior
DEBUG: 3+ >>>> Write-Output "foo `
foo
bar
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.2.0-preview.1
PSEdition Core
GitCommitId 6.2.0-preview.1
OS Microsoft Windows 10.0.17134
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
Start by reproducing the issue with Set-PSDebug -Trace 1 and the multiline Write-Output command shown in the report, then locate the implementation that formats trace output. Done means the debug trace includes both lines of the multiline command while preserving the reported output.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- powershell
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100