You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is where Write-Debug is used throughout the project.
Line 78; AnsiUtils.ps1
Line 95: GitTabExpansion.ps1
Line 18: WindowTitle.ps1
Line 19: WindowTitle.ps1
Line 24: WindowTitle.ps1
Line 37: WindowTitle.ps1
Line 58: WindowTitle.ps1
Line 62: WindowTitle.ps1
I could of course filter my log output/input each time I'm using this for logging the usage of Write-Debug on my systems. And I know I asked for issues like this by writing such a function.
But it would help me a lot if Write-Debug was only used in catch-clauses when there really is an error to handle.
(This will also enhance the performance some what 👍)
The text was updated successfully, but these errors were encountered:
I wrote a command that catches the use of
Write-Debug
and dumps the output usingPSFramework
to quickly being able to debug all my legacy code.But the logs now gets dirty as soon as I enter a command in the PowerShell console on systems that has
posh-git
installed.Apparently, the script
WindowTitle.ps1
inposh-git
callsWrite-Debug
at line 58 in the released code.This is where
Write-Debug
is used throughout the project.AnsiUtils.ps1
GitTabExpansion.ps1
WindowTitle.ps1
WindowTitle.ps1
WindowTitle.ps1
WindowTitle.ps1
WindowTitle.ps1
WindowTitle.ps1
I could of course filter my log output/input each time I'm using this for logging the usage of
Write-Debug
on my systems. And I know I asked for issues like this by writing such a function.But it would help me a lot if
Write-Debug
was only used in catch-clauses when there really is an error to handle.(This will also enhance the performance some what 👍)
The text was updated successfully, but these errors were encountered: