PowerShell/PowerShell
Set-PSDebug -Trace 1 prints only first line of a multiline command
Ouverte
#8 113 ouverte le 24 oct. 2018
HacktoberfestIn-PRUp-for-GrabsWG-Interactive-Debugging
Métriques du dépôt
- Stars
- (55 102 étoiles)
- Métriques de merge PR
- (Métriques PR en attente)
Description
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